View Single Post
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 03-11-2015 , 10:48   Re: Checking for several flags
Reply With Quote #4

Quote:
Originally Posted by Bugsy View Post
That's wrong shiina

PHP Code:
const FlagsNeeded ADMIN_LEVEL_F ADMIN_LEVEL_G ADMID_LEVEL_H;

if( ( 
get_user_flags(id) & FlagsNeeded ) == FlagsNeeded )
{
     
//do stuff

wew that's weird, because it works fine for me xD
but ur way is better I think
__________________
Shiina.Mashiro is offline