ScriptEvent:getCVar

From Mod Wiki

Parameters

string name -- Name of the cvar to look up.
string default -- Default value to assign to the cvar if it doesn't already exist.

Result

object

Supported By

sdSysCallThread

Functionality

Returns a cvar wrapper object, which can be used to look up and modify that cvar's value. The returned object will be of type sdCVarWrapper.