Raised This Month: $ Target: $400
 0% 

Hierarchy of protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kitami
Senior Member
Join Date: Jun 2006
Location: Toronto
Old 08-16-2008 , 18:26   Hierarchy of protection
Reply With Quote #1

http://forums.alliedmods.net/showthread.php?t=74893

Its related to this post I placed on another topic, I was told it would require you to edit one of the base plugins which deals with admin flags, would someone be able to do this, so that you could have different levels of immunity.
__________________
You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all.
Kitami is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-16-2008 , 18:51   Re: Hierarchy of protection
Reply With Quote #2

I think you can alter cmd_target, so if the flag is ADMIN_IMMUNITY, you can do the checking yourself. Also,you must edit admin.sma so it can load the admin immunity level from the users.ini file. Then, you can check it in the cmd_target as I mentioned.

After this,recompiling all the plugins should do the job.
danielkza is offline
Reply



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 03:15.


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