native

get_pcvar_flags

Syntax

native get_pcvar_flags(pcvar);

Description

Returns flags of a cvar via direct pointer access.

Parameters

pcvar Pointer to cvar to retrieve flags from

Note

For a list of possible flags see the FCVAR_* constants in amxconst.inc

Return

1 on success, 0 if cvar pointer is invalid

Error

If an invalid cvar pointer is provided, an error will be
thrown.