SaveString (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Nickardson
Added information about how SaveString handles an empty string, reducing DataCost.
>JulienDethurens
No edit summary
Line 1: Line 1:
<onlyinclude>{{AdminOnlyMethod
<onlyinclude>{{Method
|name                = SaveString
|name                = SaveString
|arguments            = [[String]] key, [[String]] value
|arguments            = {{type|string}} <var>key</var>, {{type|string}} <var>value</var>
|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.
|description          = Saves a {{type|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]]
}}</onlyinclude>
}}</onlyinclude>



Revision as of 23:25, 12 February 2012

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.
Member of: Player