Raised This Month: $ Target: $400
 0% 

Flags related


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-18-2012 , 19:01   Re: Flags related
Reply With Quote #12

Quote:
Originally Posted by EDUTz View Post
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)
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode