Raised This Month: $100 Target: $400
 25% 

No More Admin vs Admin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   GHW_Chronic (70)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-01-2006 , 04:43   No More Admin vs Admin
Reply With Quote #1

  • This plugins simply adds an extra check to a few amx commands so that admins cannot perform them on other admins unless the admin doing the command has immunity and the person he is doing it to does not. Still don't understand?
  • Quote:
    b0rnl33t: So wait, what exactly does this plugin do?
    GHW Chronic 915: if ur admin
    GHW Chronic 915: normally, u can slap other non-immune admins
    GHW Chronic 915: but with this, you can't slap other admins unless you have immunity.
    GHW Chronic 915: So thus if you don't have immunity, you can't slap any admins (only players), and if you do, you can slap non-immune admins and players.

Commands affected:
  • amx_slap
  • amx_slay
  • amx_ban
  • amx_nick
  • amx_addban
  • amx_kick

Installation:
  • All you have to do is replace the old admincmd.amxx file in your plugins folder with this one.
Attached Files
File Type: sma Get Plugin or Get Source (admincmd.sma - 1808 views - 31.8 KB)

Last edited by GHW_Chronic; 01-07-2009 at 03:03.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-01-2006 , 04:48  
Reply With Quote #2

Interesting. What did you change/add?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-01-2006 , 04:52  
Reply With Quote #3

Code:
if(player!=id && is_user_admin(player) && !(get_user_flags(id) & ADMIN_IMMUNITY)) {     console_print(id,"[AMXX] You do not have high enough access to slap an admin.")     return PLUGIN_HANDLED }
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
apexi_gt4
New Member
Join Date: Apr 2006
Old 05-01-2006 , 04:58  
Reply With Quote #4

thanks a bunch!! this really help's in my server so any member admins pissed with each other can't do anything to one another...once again thank you!
apexi_gt4 is offline
DDR Khat
SourceMod Donor
Join Date: Feb 2006
Old 05-02-2006 , 03:46  
Reply With Quote #5

Hells yes! thanks a BIG bunch! i can finally slay myself If I need to!

and stop my silly admins slapping each other around >D

+K for you!
DDR Khat is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Location: UK
Old 05-02-2006 , 07:04  
Reply With Quote #6

wow nice +
`666 is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-02-2006 , 11:05  
Reply With Quote #7

While it's a useful update, changing and/or adding 3 lines of code to a native plugin does not a new plugin make.
__________________
Brad is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-02-2006 , 15:31  
Reply With Quote #8

Quote:
Originally Posted by Brad
While it's a useful update, changing and/or adding 3 lines of code to a native plugin does not a new plugin make.
what?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 05-02-2006 , 15:42  
Reply With Quote #9

Quote:
Originally Posted by v3x
Quote:
Originally Posted by Brad
While it's a useful update, changing and/or adding 3 lines of code to a native plugin does not a new plugin make.
what?
Does not make a new plugin
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-02-2006 , 17:44  
Reply With Quote #10

Quote:
Originally Posted by allenwr
Quote:
Originally Posted by v3x
Quote:
Originally Posted by Brad
While it's a useful update, changing and/or adding 3 lines of code to a native plugin does not a new plugin make.
what?
Does not make a new plugin
Assuming that's what Brad meant, I agree.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply


Thread Tools
Display Modes

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 11:49.


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