Formerly Known as VotorX's Change immune (see Reason for re-writing for more information)
Description:Allows an administrator with the flag of ADMIN_RCON (l) to have the capability of removing another administrators or even their own immunity, thus leaving the victim vulnerable to all admin commands.
Credit(s):VotorX (original author - for original version)
slmclarengt (myself - for idea and for rewriting it)
And all people who made suggestions/requests/comments
Cvars:sv_allowignore <0|1> - controls whether to allow admins the ability to remove/set immunity of users. Default 1.
disclude_self <0|1> - disclude self from immunity being revoked. Default 1.
Use:amx_immuneoff <name | #userid>
amx_immuneon <name | #userid>
amx_globalimmuneoff - Turns immunity off of everyone w/ immunity
amx_globalimmuneon - Turns immunity on for everyone authorized
amx_teamimmuneon < 1 for T, 2 for CT > - turns specified Team's immunity on
amx_teamimmuneoff < 1 for T, 2 for CT > - turns specified Team's immunity off
Reason for re-writing:I re-wrote this plugin because VotorX's version was confusing, hard to read, did not do it's function, was messy, was unorganized, and in general, was just too complex and intricate.
Code:#include <amxmodx>
#include <amxmisc>
Newest version:
3.12b (7/1/06)
3.12 (5/13/06)
3.11 (05/08/06)
3.1 (05/07/06)
3.0 (01/05/06)
Changelog:
(7/1/06) - 3.12b):
Fixed code for amx_globalimmuneoff
Fixed code for amx_globalimmuneon
Optimized and moved comments to become more organized
(05/13/06 - 3.12):
Rewrote code for amx_globalimmuneoff
Rewrote code for amx_globalimmuneon
Optimized code to avoid unnecessary memory allocations
(05/07/06 - 3.1):
Added amx_globalimmuneoff to remove immunity from everyone who has it
Added amx_globalimmuneon to restore immunity to those authorized
(01/05/06 - 3.0):
Re-written for optimization and logic
All known errors/bugs/warnings/typos diminished
sv_allowignore cvar does it's function
No more errors or warnings on compilation
Download
AICI