has_all_flags

Signature
stock has_all_flags(id, const flags[]){ new FlagsNumber = read_flags(flags); return((get_user_flags(id) & FlagsNumber) == FlagsNumber);}
Description

Returns if the client has all of the specified admin flags.

Parameters
  • id — Client index
  • flags — Flag string
Returns

1 if the user has all of the specified flags, 0 otherwise

Назад
Верх