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: Where we report wrong info on wiki?

Previous Thread :: Next Thread 
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
21 Oct 2017 10:45 PM
http://wiki.roblox.com/index.php?title=Saving_Player_Data

"Handling DataStore failures" code part says that we use could ONLY player.UserId as a DataStore key, which gives an error by a type incompatibility, since player.UserId returns an Int and a DataStore key MUST be an String.

Said the wise.
Report Abuse
22618709 is not online. 22618709
Joined: 25 Dec 2011
Total Posts: 19221
21 Oct 2017 10:47 PM
Doesnt lua auto tostring when needed?
Report Abuse
Tunicus is online. Tunicus
Joined: 16 Feb 2013
Total Posts: 3165
21 Oct 2017 10:51 PM
Looks like it's auto-converted to string on the C-side, I'm testing in studio and there's no difference between a number and a string equivalent
Report Abuse
igunaa is not online. igunaa
Joined: 15 Sep 2010
Total Posts: 2588
21 Oct 2017 10:52 PM
I guess it should, since we never have to define data types, but DataStore keys should start with a char as far as I`m concerned.

Said the wise.
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
21 Oct 2017 11:03 PM
Lua has coercion at run-time. Read the Lua manual like I did noob.


Subscribe for scripting tutorials and more videos! www.youtube.com/c/SPiNClan
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