native set_pcvar_flags(pcvar, flags);
pcvar | Pointer to cvar to set flags of |
flags | Bitflag sum of flags to set |
Sets specified flags to a cvar via direct pointer access.
For a list of possible flags see the FCVAR_* constants in amxconst.inc
This function directly sets the provided bitflag, unlike set_cvar_flags which adds them using a bitwise OR.
1 on success, 0 if cvar does not exist or is not permitted
If an invalid cvar pointer is provided, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.