Quote:
Originally Posted by EDUTz
that makes more sense.
Anyway, it doesn't work either.
but it works with if( get_user_flags(id) == (ADMIN_MAP | ADMIN_SLAY) )
Thanks for your help 
|
It works. Just that it's different than what you ended up using. The one that I posted allows them to have other flags but must have, at the very least, both these flags.
The one you ended up using will only return true if and only if the player has only those two flags. Is that what you wanted? When you stated in your first post that you wanted to specifically exclude flag "h" it made it seem like you could have other flags but just not "h". (Granted, mine doesn't check for the absence of any particular flags)
__________________