AMX Mod X API Documentation

Signature
native get_pcvar_num(pcvar);
Description

Returns an integer value from a cvar via direct pointer access.

Parameters
  • pcvar Pointer to cvar to retrieve value from
Returns

Cvar value, converted to int

Errors
  • If an invalid cvar pointer is provided, an error will be

    thrown.

Назад
Верх