set_pcvar_flags
- Синтаксис
-
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