native
set_cvar_string
Syntax
native set_cvar_string(const cvar[], const value[]);
Description
Sets a cvar to a given string value. The cvar is accessed by name.
Parameters
| cvar | Cvar name to set value of |
|---|---|
| value | Value to set cvar to |
Note
Accessing a Cvar by name is slower than direct pointer access, which is
why the otherwise equivalent set_pcvar_string() function should be used
instead.
Return
This function has no return value.