Signature
native set_cvar_num(const cvarname[], value);
Description
Sets a cvar to a given integer value. The cvar is accessed by name.
Notes
-
Accessing a Cvar by name is slower than direct pointer access, which is
why the otherwise equivalent set_pcvar_num() function should be used
instead.
Parameters
- cvarname — Cvar name to set value of
- value — Value to set cvar to
No return value