AMX Mod X API Documentation

Signature
stock has_flag(id, const flags[]){ return(get_user_flags(id) & read_flags(flags));}
Description

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

Parameters
  • id Client index
  • flags Flag string
Returns

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

Назад
Верх