Quote:
Originally Posted by BoOnSpoOn
Hi I have ProKreedz (from www.Xtreme-Jumps.eu) and I want to use Adminglow, that Admins glow in a specific color (I 'ld like if thy glowed in pink but if anyone can make them glowing in ANY Color it is OK ^^)
Then there is also a function that if you write /help a red message appears on the right, but if i write /help the message isn't red it is in my config color 
But it doesn't work in this form (both ones):
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 = {255,0,100}
else
colors = {0,0,0}
set_rendering(id,kRenderFxGlowShell,colors[0],colors[1],colors[2],kRenderNormal,25)
Who can help me? 
|
I think you are looking for replacing
Code:
set_rendering(id,kRenderFxGlowShell,colors[0],colors[1],colors[2],kRenderNormal,25)
to
Code:
set_user_rendering(id,kRenderFxGlowShell,colors[0],colors[1],colors[2],kRenderNormal,25)
because set_rendering does not affect players, rather entities. Set_user_rendering is a function of the "fun" include so you must
Cheers!
Slmclarengt
__________________