Squirrel/Server/Functions/Scripts/SetScriptData
From Liberty Unleashed Wiki
(Difference between revisions)
(→Syntax) |
|||
Line 3: | Line 3: | ||
== Syntax == | == Syntax == | ||
− | <code> | + | <code>bool SetScriptData( string dataName, dataValue )</code> |
== Arguments == | == Arguments == |
Revision as of 20:26, 26 October 2012
This function sets a data which can be retrieved by any other script via GetScriptData serverside or GetScriptData clientside. This function also returns a bool.
Syntax
bool 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 ).