Quote:
Originally Posted by Plug me up
make it only work with players with acess flag d.
|
Quote:
Originally Posted by NcB_Sav
Where ever the plugin is called put this
PHP Code:
if(!is_user_admin(id)) { return PLUGIN_HANDLED }
right?
|
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.