generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Inventory, and adding items? Datapersistance?

Previous Thread :: Next Thread 
Lem0nzz2 is not online. Lem0nzz2
Joined: 03 Jul 2014
Total Posts: 211
24 Jan 2015 03:02 PM
Alright so I have a couple questions, first I'm confused of how to use DataPersistance, it's not getting into my head how do you do this?

Second question, how would I make an inventory, that can add items into it if you store them? I'm mostly concerned about saving the inventory.
Report Abuse
warycapdecutie is not online. warycapdecutie
Joined: 13 Aug 2010
Total Posts: 14373
24 Jan 2015 03:04 PM
read this

http://wiki.roblox.com/index.php?title=Data_persistence
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
24 Jan 2015 03:05 PM
use datastores


R$3,055
Report Abuse
DrMathematica is not online. DrMathematica
Joined: 29 Aug 2008
Total Posts: 27268
24 Jan 2015 03:07 PM
^^^

It's best to store your backpack's items with specific IDs. For instance, have an IntValue in the tool or item that denotes its ID. Then use DataStore to save a string JSON (JSON is a stringified table) which is a table of what they had in their inventory.
Report Abuse
Lem0nzz2 is not online. Lem0nzz2
Joined: 03 Jul 2014
Total Posts: 211
24 Jan 2015 03:17 PM
I'm still confused I'm seeing >, <, and / What is that?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image