Raised This Month: $32 Target: $400
 8% 

Plugin to dis-allow self-harm by admins (Slap, slay, kick)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fjeddy
Junior Member
Join Date: Oct 2017
Old 10-09-2017 , 21:35   Plugin to dis-allow self-harm by admins (Slap, slay, kick)
Reply With Quote #1

Hello,

I was wondering if anyone knows of a plugin that makes it impossible for an admin to perform commands on themselves. I run a server where admins are heavily abusing the slap system to slap themselves to kingdom come.

Been searching for a bit, but in all honesty, I have no clue what I would search for, the keywords I use yields no results, not even a previous question on the topic.

Regards,
Fjeddy is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 10-09-2017 , 22:17   Re: Plugin to dis-allow self-harm by admins (Slap, slay, kick)
Reply With Quote #2

Try this one, they shouldn't be able to slap or slay themselves. I didn't block kick because...if they want to leave let them.
Attached Files
File Type: sma Get Plugin or Get Source (plmenu.sma - 521 views - 22.7 KB)
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 10-10-2017 at 06:20.
wickedd is offline
Fjeddy
Junior Member
Join Date: Oct 2017
Old 10-10-2017 , 00:01   Re: Plugin to dis-allow self-harm by admins (Slap, slay, kick)
Reply With Quote #3

Thank you for the help, tho, this crashes my server? I also react on the file size, it's 1.5mb big, while the original is 14kb?

Code:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
Using AMX Mod X 1.8.2 (Using diff checker on my plmenu.sma in the scripting folder and yours shows that you might be using a different version? 1500 different lines in your file from my original plmenu file)

Last edited by Fjeddy; 10-10-2017 at 00:17.
Fjeddy is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 10-10-2017 , 06:22   Re: Plugin to dis-allow self-harm by admins (Slap, slay, kick)
Reply With Quote #4

Download it again, the first one was from 1.8.3.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 10-10-2017 at 07:10.
wickedd is offline
Fjeddy
Junior Member
Join Date: Oct 2017
Old 10-10-2017 , 10:51   Re: Plugin to dis-allow self-harm by admins (Slap, slay, kick)
Reply With Quote #5

Thank you very much for your help, it works like a charm
Fjeddy is offline
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 16:24.


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