|
Author
|
Message
|
|
Junior Member
Join Date: Mar 2005
Location: Texas
|

03-06-2005
, 13:09
Bypass ADMIN_IMMUNITY ?
|
#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
|
|
|
|