Quote:
Originally Posted by siriusmd99
Add under OnTakeDamagePost:
if(!is_user_admin(attacker)) return HAM_IGNORED
|
your one had error compile, didnt recognise your line
Quote:
Originally Posted by OciXCrom
Simply add the following where all the checks are (you can easily spot them):
PHP Code:
if(!(get_user_flags(attacker) & ADMIN_MENU)) return HAM_IGNORED;
|
your one work perfect. but i didnt know where a check was so i was asking if you could put it in the code, and i would then look at the code i posted and the one you would post to see what you changed in it, so next time i would know what a check is