Cvar - baso88/SC_AngelScript GitHub Wiki
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.
Methods
| Method | Description |
|---|---|
| string GetName() | Gets the name of the cvar. |
| string GetString() | Gets the value of the cvar as a string. |
Properties
| Property | Description |
|---|---|
| const int flags | The flags of this cvar. |
| const float value | The value of this cvar as a float. |