SetScriptData

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events


This function sets a data which can be retrieved by any other script via GetScriptData serverside or GetScriptData clientside.

Syntax

  1. 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 ).

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox