Raised This Month: $ Target: $400
 0% 

Bypass ADMIN_IMMUNITY ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dcyuri7
Junior Member
Join Date: Mar 2005
Location: Texas
Old 03-06-2005 , 13:09   Bypass ADMIN_IMMUNITY ?
Reply With Quote #1

I want my plugin to be able to execute commands on admins with immunity as well as regular players. Basically, I wrote a plugin that sets a specified players rendering, to the specified #Value. The problem is all the admins with immunity, such as myself, are not allowed to execute it on themselves, unless immunity is removed. Of course I wouldnt want to do that...

Now, I have looked through the include files and found that the only thing I could really do is to set the admins flags to exclude immunity, and then reset them before HANDLE[ED]-ing the plugin, therefore allowing the command executability on the immunified admin. I have three questions regarding this statement.

1.) If this is performed, will it take effect immediately, or is it upon round start that the flags are re-checked?
2.) Is there a way to reload the flags? (I know theres a command to reload the admins, and I'm guessing that includes their flags as well. Please confirm this.)
3.) Is there not a command or something of that sort included in AMX Mod X, that would take care of this alittle more quickly, easily, and proficiently?

Thanks in advance,
Barry
dcyuri7 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 14:13.


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