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?!?