Quote:
Originally Posted by SnoW
How do you think that is_user_admin, could have something to do with flag d? Anyway...
Code:
if(get_user_flags(index) & ADMIN_BAN)
//User has flag admin_ban (what's d flag)
if(~get_user_flags(index) & ADMIN_BAN)
//User doesn't, so you can return handled here if it fits your needs.
|
didnt see the whole post. and typo.
if(
!get_user_flags(index) & ADMIN_BAN)
question wouldnt
PHP Code:
if(get_user_flags(id) != ADMIN_BAN)
plugin return 1;
work to block someting as well if user dosent have admin ban