has_flag
- Синтаксис
-
stock has_flag(id, const flags[]) { return (get_user_flags(id) & read_flags(flags)); }
Переменная | Описание |
---|---|
id |
Client index |
flags |
Flag string |
- Описание
- Returns if the client has any of the specified admin flags.
- Возвращает
- 1 if the user has any of the specified flags, 0 otherwise