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: Can I save a dictionary/table laid out like this?

Previous Thread :: Next Thread 
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
07 Sep 2015 09:37 AM
using datastore? if so, how?


_G.database =
{
["PlayerName"] =
{
["Account Age"] = 0
["Avatar"] = "linkhere"
["Bio"] = ""
}
}

PlayerName and the other stuff are done by scripts.

Awwww, here it goes!
Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
07 Sep 2015 09:38 AM
Saving by data store? Yes.
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
07 Sep 2015 09:39 AM
How would I? I'm terrible with datastore.

Awwww, here it goes!
Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
07 Sep 2015 09:40 AM

game:GetService'DataStoreService':GetDataStore'somedatakey':SetAsync(userId,_G.database[player's name])
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
07 Sep 2015 09:45 AM
As long as all your keys are strings it will work fine.


Muad'Dib
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
07 Sep 2015 09:53 AM
@chi

can I use tostring()?

Awwww, here it goes!
Report Abuse
badfitz67 is not online. badfitz67
Joined: 03 Jun 2010
Total Posts: 13165
07 Sep 2015 09:55 AM
Is there anyway I can check if there is an async or if it's changed?

Awwww, here it goes!
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