Squirrel/Server/Functions/Scripts/SetScriptData
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "This function sets a data which can be retrieved by any other script ( be it clientside or serverside ). == Syntax == <code>string SetScriptData( string dataName, dataValue ...") |
(→Arguments) |
||
Line 8: | Line 8: | ||
'''dataName''' - The string name of the data you want to set. | '''dataName''' - The string name of the data you want to set. | ||
+ | |||
'''dataValue''' - The value of the data ( integer/float/string ). | '''dataValue''' - The value of the data ( integer/float/string ). |
Revision as of 20:15, 26 October 2012
This function sets a data which can be retrieved by any other script ( be it clientside or serverside ).
Syntax
string SetScriptData( string dataName, dataValue )
Arguments
dataName - The string name of the data you want to set.
dataValue - The value of the data ( integer/float/string ).