Convars C++ CScriptConvarAccessor
4 own methods
!Access to convar functions
Methods
callable on a Convars script handle| Script Function | Returns | Parameters | Description |
|---|---|---|---|
| GetClientConvarValue | cstring | cstring, int | GetClientConvarValue(name) : returns the convar value for the entindex as a string. |
| GetFloat | unknown(0x21) | cstring | GetFloat(name) : returns the convar as a float. May return null if no such convar. |
| GetStr | unknown(0x21) | cstring | GetFloat(name) : returns the convar as a string. May return null if no such convar. |
| SetValue | void | cstring, cstring | SetValue(name, value) : sets the value of the convar. Supported types are bool, int, float, string. |