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: if i were to save a whole players inventory

Previous Thread :: Next Thread 
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
21 Jun 2016 01:18 PM
would I put the backpack contents in a table, and save that table in another table with other items?
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
21 Jun 2016 01:19 PM
Yes you could.

You could set it up like this:

data = {
Stats = {}
Invy = {}
RandomStuff = {}
}

Then save data and load it from that array setup.
Report Abuse
seanbenish is not online. seanbenish
Joined: 31 Jul 2009
Total Posts: 429
21 Jun 2016 01:23 PM
I'm assuming that you mean with a datastore. If that is the case, create an array with all the possible tools that your game has. Then, make sure that once a while or manually, you convert their backpack's content into an array of the tool's IDs from the array previously stated. Make sure you also save when PlayerRemoving. After they have been converted, store it into a data table.

So yeah, you have the right idea.


public static void main(String[] args) { System.out.println("Oops! Wrong language."); }
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