Raised This Month: $ Target: $400
 0% 

Exceptions for admins with rcon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Elusive138
Senior Member
Join Date: Dec 2010
Old 12-28-2010 , 22:44   Re: Exceptions for admins with rcon
Reply With Quote #2

Well, wherever it checks for immunity, e.g.
PHP Code:
if (access(targetidADMIN_IMMUNITY))
    return 
PLUGIN_HANDLED 
you can change it to
PHP Code:
if (access(targetidADMIN_IMMUNITY) && !access(adminidADMIN_RCON)) 
so it will only quit or print a "target is immune" message if the admin who uses the command does not have the ADMIN_RCON flag.
Elusive138 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode