SaveBoolean (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator This page... would be perfection with an example. |
>ArceusInator example |
||
Line 11: | Line 11: | ||
[[Category:Methods]] | [[Category:Methods]] | ||
{{Example|In one server...<pre> | |||
game.Players.LocalPlayer:SaveBoolean( testBoolean, true ) | |||
</pre> | |||
In another server...<pre> | |||
print( game.Players.LocalPlayer:LoadBoolean( testBoolean ) ) --> true</pre>}} |
Revision as of 16:23, 16 January 2011
Roblox Preliminary:This item is Roblox Preliminary. It is currently locked while the developers test it, but may be released later.
SaveBoolean( String key, Bool value ) | |
Returns | nil |
Description: | Saves a boolean value that can be reloaded from any server via LoadBoolean |
In Object: | Player |
Example
In one server...game.Players.LocalPlayer:SaveBoolean( testBoolean, true )In another server...
print( game.Players.LocalPlayer:LoadBoolean( testBoolean ) ) --> true