Raised This Month: $ Target: $400
 0% 

Super Admin Update* 4.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-10-2018 , 09:53   Re: Super Admin Update* 4.1
Reply With Quote #1

All of this can be done with editing just one line in amxmisc.inc:

Code:
if ((get_user_flags(player) & ADMIN_IMMUNITY) && ((flags & CMDTARGET_ALLOW_SELF) ? (id != player) : true))

To this:

Code:
if ((get_user_flags(player) & ADMIN_IMMUNITY) && !(get_user_flags(id) & (1<<23)) && ((flags & CMDTARGET_ALLOW_SELF) ? (id != player) : true))

Then give the admin flag "x". All plugins that use amxmisc will need to be recompiled.
__________________

Last edited by OciXCrom; 02-28-2018 at 13:05.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 02-27-2018 , 10:29   Re: Super Admin Update* 4.1
Reply With Quote #2

dont work with amxbans 6.13
popilas is offline
JuanitoAlimana
Senior Member
Join Date: Aug 2021
Old 03-13-2024 , 06:02   Re: Super Admin Update* 4.1
Reply With Quote #3

Hey. Everytime I try to select the ban times or the slap damages the key is "stuck" and I cannot select between "Permanently" or "5" ,"60", etc and the console shows "Client with that name or userid not found". How can I solve this?

Thank you very much!
JuanitoAlimana 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 22:46.


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