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 » Club Houses » Clans & Guilds
Home Search
 

Re: Checking values in data stores?

Previous Thread :: Next Thread 
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
05 Feb 2015 02:05 PM
if datastore:GetAsync("PreviousSession") then

How would I check if the value of "PreviousSession" == true, and not just if it isn't nil? It saves like this:

datastore:SetAsync("PreviousSession", true)
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
05 Feb 2015 02:05 PM
wrong forum
Report Abuse
Ruinable is not online. Ruinable
Joined: 14 Sep 2014
Total Posts: 8903
05 Feb 2015 02:06 PM
wrong subforum but ok

e.e why aren't you setting the key to the userId... it doesn't default check the localplayers datastores.
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
05 Feb 2015 02:08 PM
I'm using the datastore like this:

GetDataStore(Date..player.UserId)

It's a key in itself
Report Abuse
Ruinable is not online. Ruinable
Joined: 14 Sep 2014
Total Posts: 8903
05 Feb 2015 02:09 PM
Oh my god why are you making new datastores for every single player, if you need multiple things, save a table oh sweet jesus.
Report Abuse
SirCarbine is not online. SirCarbine
Joined: 18 May 2013
Total Posts: 895
05 Feb 2015 02:11 PM
Wrong forum
Go to Scripters



Court is now in session! Exalted Judge Sir Carbine presiding.
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
05 Feb 2015 02:13 PM
It saves data in tables, it's just using the DataStore name as a key...
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
05 Feb 2015 02:15 PM
@SirCarbine

Did you really just post that
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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