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