Raised This Month: $ Target: $400
 0% 

Join Spectator admins only in Zombie Plague Advance


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Slackerok
Junior Member
Join Date: Mar 2010
Old 11-14-2011 , 08:02   Join Spectator admins only in Zombie Plague Advance
Reply With Quote #1

Hello guys. Please show where must modiffy a part of code in plugin http://forums.alliedmods.net/showthr...Plague+Advance to change Acces to M 6 (spectator) for admins only (flag d) independently player is dead or live. I try to change code

Quote:
if (!g_isalive[id] || !get_pcvar_num(cvar_blocksuicide) || (userflags & g_access_flag[ACCESS_ADMIN_MENU]))
to

Quote:
if (!g_isalive[id] || !get_pcvar_num(cvar_blocksuicide) || (userflags & ADMIN_BAN))
but in result alive simple players dont have acces to M 6, but dead simple players have access to M 6 ...
Please help?!?
Slackerok is offline
 


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 08:23.


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