set_pcvar_num

Signature
native set_pcvar_num(pcvar, num);
Description

Sets an integer value to a cvar via direct pointer access.

Parameters
  • pcvar — Pointer to cvar to set value of
  • num — Value to set cvar to
No return value
Errors
  • If an invalid cvar pointer is provided, an error will be

    thrown.

Назад
Верх