-
Notifications
You must be signed in to change notification settings - Fork 4
Cvar
GeckoN edited this page Mar 29, 2017
·
8 revisions
Cvar
is a read-only object type that can be used to access cvar data.
Use CEngineFuncs::CVarSetFloat
and CEngineFuncs::CVarSetString
to change the value.
The HTML documentation can be found here.
Method | Description |
---|---|
string GetName() | Gets the name of the cvar. |
string GetString() | Gets the value of the cvar as a string. |
Property | Description |
---|---|
const int flags | The flags of this cvar. |
const float value | The value of this cvar as a float. |