set_user_flags
- Синтаксис
-
native set_user_flags(index, flags = -1, id = 0);
Переменная | Описание |
---|---|
index |
Client index, 0 to set flags of server |
flags |
Admin flags |
id |
Flag set id, ranging from 0 to 31 |
- Описание
- Sets the specified admin flags to a client.
- Пометка
-
For a list of possible flags, see the ADMIN_* constants in amxconst.inc
- Пометка
-
This function just adds the flags using a bitwise-or operation. After it has run, the flags may not exactly equal the specified bitflag sum.
- Пометка
-
AMXX stores multiple sets of flags internally, but only flag set 0 is actively used. You should not change the value of the third parameter from the default.
- Возвращает
- Функция ничего не возвращает