Raised This Month: $ Target: $400
 0% 

Adminglow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 12-21-2006 , 18:45   Re: Adminglow
Reply With Quote #1

Quote:
Originally Posted by AlMod View Post
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
[ --<-@ ] Black Rose 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 22:29.


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