Raised This Month: $ Target: $400
 0% 

Admin permissions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maestro
New Member
Join Date: Jan 2010
Old 01-05-2010 , 09:17   Admin permissions
Reply With Quote #1

is there are any plugin/command for Admin menu so Admins can't make them self Nemesis, Survivor only other players and admins. i've search but found nothing.
maestro is offline
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 01-05-2010 , 09:44   Re: Admin permissions
Reply With Quote #2

What ?! You want only you (not other admins to use it)?
(Remove flag "a" from the other admins)

Try this:
Code:
[Access Flags]
ENABLE/DISABLE MOD = a
ADMIN MENU = a
START MODE INFECTION = a
START MODE NEMESIS = a
START MODE SURVIVOR = a
START MODE SWARM = a
START MODE MULTI = a
START MODE PLAGUE = a
MAKE ZOMBIE = a
MAKE HUMAN = a
MAKE NEMESIS = a
MAKE SURVIVOR = a
RESPAWN PLAYERS = a
ADMIN MODELS = a
Located in zombieplague.ini

Make the acces flags that you want for you (make the "a" imunity flag, it will be better)
hellmoss is offline
maestro
New Member
Join Date: Jan 2010
Old 01-05-2010 , 10:55   Re: Admin permissions
Reply With Quote #3

No, i was talking about them selfs not what they can do.
let's say admin is going to admin menu, he's trying to make someone nemesis, but he can't make nemesis him self only others.
maestro is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 01-05-2010 , 11:45   Re: Admin permissions
Reply With Quote #4

open zombie_plague40.sma
Find line
Code:
player = cmd_target(id, arg, (CMDTARGET_ONLY_ALIVE | CMDTARGET_ALLOW_SELF))
and replace it with
Code:
player = cmd_target(id, arg, (CMDTARGET_ONLY_ALIVE))
P.S this line is repeated 3 times.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
maestro
New Member
Join Date: Jan 2010
Old 01-05-2010 , 14:07   Re: Admin permissions
Reply With Quote #5

doesn't work
maestro is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 01-05-2010 , 14:46   Re: Admin permissions
Reply With Quote #6

try this
Code:
player = cmd_target(id, arg, CMDTARGET_ONLY_ALIVE)
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
maestro
New Member
Join Date: Jan 2010
Old 01-05-2010 , 16:10   Re: Admin permissions
Reply With Quote #7

nothing happens :/
maestro 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 12:25.


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