VoidExpanse/scope-items: Difference between revisions
Ai enabled (talk | contribs) No edit summary |
Ai enabled (talk | contribs) |
||
Line 9: | Line 9: | ||
== List of functions == | == List of functions == | ||
{{Scripting_api| | {{Scripting_api|AddItem| | ||
* string: name| | * string: name| | ||
string- a particular value of config.| | string- a particular value of config.| |
Revision as of 08:40, 20 April 2015
Items scope
Used to access items containers, add or remove items.
Visibility: Global.
List of functions
AddItem | ||
---|---|---|
Arguments | Returns | Example |
|
string- a particular value of config. |
var a = config.GetSetting("some_var"); |
Description | ||
Returns a server variable value by name. Basically used to read server config options from script. |