|
Author
|
Message
|
|
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
|

12-21-2006
, 18:45
Re: Adminglow
|
#1
|
Quote:
Originally Posted by AlMod
I think that not works with the 'KZ_LEVEL' constant. It seem's user haven't such flag - and so it's doesn't work. or
in that place:
PHP Code:
public glow(id) {
new colors[3]
if(needhelp[id-1] && get_pcvar_num(kz_help) == 1)
colors = {255,0,0}
else if(access(id,KZ_LEVEL) && get_pcvar_num(kz_adminglow) == 1)
colors = {0,255,0}
else
colors = {0,0,0}
set_rendering(id,kRenderFxGlowShell,colors[0],colors[1],colors[2],kRenderNormal,25)
}
don't use else configuration if the first condition is TRUE the other is not checking 
|
#define KZ_LEVEL ADMIN_KICK
|
|
|
|