Quote:
Originally Posted by fysiks
Actually, I would recommend modifying cmd_target() in amx_misc.inc to ignore immunity if admin has rcon flag. Then all you have to do is recompile all your plugins (which is easy) and voila.
I am quite positive that I've done this before somewhere.
|
In that case, it would be
PHP Code:
if ((get_user_flags(player) & ADMIN_IMMUNITY) &&
((flags & CMDTARGET_ALLOW_SELF) ? (id != player) : true) )
=>
PHP Code:
if ((get_user_flags(player) & ADMIN_IMMUNITY) &&
((flags & CMDTARGET_ALLOW_SELF) ? (id != player) : true) &&
!(get_user_flags(id) & ADMIN_RCON) )
in amxmisc.inc
But that would only work if you compile plugins yourself, not if you want to release the sma/use the webcompiler. Also, only if you were using cmd_target and not some other way of checking admin flags.