Signature
native get_cvar_flags(const cvar[]);
Description
Returns flags of a cvar. The cvar is accessed by name.
Notes
- For a list of possible flags see the FCVAR_* constants in amxconst.inc
-
Accessing a Cvar by name is slower than direct pointer access, which is
why the otherwise equivalent get_pcvar_flags() function should be used
instead.
Parameters
- cvar — Cvar name to retrieve flags from
Returns
Flag value