SaveString (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
No longer admin-only.
>Nickardson
Added information about how SaveString handles an empty string, reducing DataCost.
Line 2: Line 2:
|name                = SaveString
|name                = SaveString
|arguments            = [[String]] key, [[String]] value
|arguments            = [[String]] key, [[String]] value
|description          = Saves a String value that can be reloaded from any server via [[LoadString (Method)|LoadString]]
|description          = Saves a String that can be reloaded from any server via [[LoadString (Method)|LoadString]]. The DataCost used by a saved string can be removed by saving an empty string ("") as the value.
|object              = Player
|object              = Player
|returns              = [[nil]]
|returns              = [[nil]]

Revision as of 13:51, 9 July 2011

SaveString( String key, String value )
Returns nil
Description: Saves a String that can be reloaded from any server via LoadString. The DataCost used by a saved string can be removed by saving an empty string ("") as the value.
In Object: Player