AMX Mod X API Documentation

Signature
native get_pcvar_flags(pcvar);
Description

Returns flags of a cvar via direct pointer access.

Notes
  • For a list of possible flags see the FCVAR_* constants in amxconst.inc
Parameters
  • pcvar Pointer to cvar to retrieve flags from
Returns

1 on success, 0 if cvar pointer is invalid

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

    thrown.

Назад
Верх