View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-11-2015 , 12:14   Re: Checking for several flags
Reply With Quote #5

Quote:
Originally Posted by Shiina.Mashiro View Post
wew that's weird, because it works fine for me xD
but ur way is better I think
It does not work fine for you, you are just not testing the condition correctly. Your method will always return true as long as the player has the ADMIN_LEVEL_F flag. The other flags you are using conditional AND (&&) on which just checks if they are non-zero, which is always true. I see you are at 1% at learning Pawn. Please don't try to help others if you don't know how to script yourself.
__________________

Last edited by Bugsy; 03-11-2015 at 12:19.
Bugsy is offline