Raised This Month: $51 Target: $400
 12% 

Immunity from yourself?


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-14-2009 , 20:05   Re: Immunity from yourself?
Reply With Quote #21

If you want it to work for all admins not to be able to affect themselves, just change this:
PHP Code:
        if (is_user_bot(i) || (access(iADMIN_IMMUNITY))) 
to
PHP Code:
        if (== id || is_user_bot(i) || (access(iADMIN_IMMUNITY))) 
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
triggsta
Junior Member
Join Date: Jun 2009
Old 06-16-2009 , 01:19   Re: Immunity from yourself?
Reply With Quote #22

Thanks both of you, but I'm still not sure why it's not working for me. I update it fine, I restart the server, but it's all the same. No changes whatsoever.
triggsta is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-16-2009 , 17:36   Re: Immunity from yourself?
Reply With Quote #23

Not to be insulting, but did you compile the plugin and put it in /plugins/ to replace the previous version? I've forgot this before and it was very annoying .
__________________
fysiks is offline
triggsta
Junior Member
Join Date: Jun 2009
Old 06-17-2009 , 12:33   Re: Immunity from yourself?
Reply With Quote #24

Umm, I'm not sure? Is this something you do when you first install the plugin to the server? Because I didn't do that, a friend did it for me.
triggsta is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-17-2009 , 17:42   Re: Immunity from yourself?
Reply With Quote #25

You take the plmenu.sma (with the modified code) and compile it. You can compile it here and you download the compiled plugin which should be plmenu.amxx. Ok, put this plmenu.amxx in your /<mod>/addons/amxmodx/plugins/ folder and overwrite the existing one. Then restart (map change) your server.
__________________
fysiks is offline
Old 06-17-2009, 18:18
fra3nah.com
This message has been deleted by devicenull.
triggsta
Junior Member
Join Date: Jun 2009
Old 06-18-2009 , 14:24   Re: Immunity from yourself?
Reply With Quote #26

Well I now feel extremely dumb. Thank you for helping me out haha
triggsta is offline
--kml--
Senior Member
Join Date: Jan 2009
Old 07-08-2009 , 20:19   Re: Immunity from yourself?
Reply With Quote #27

lol . Dont feel you are dumb O.o
everyone start from somewhere
_____________

LOL i steal this from someones quote >:D
__________________
wooT now is asking season
will ask you plenty of things for learning
--kml-- 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:54.


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