Quote:
Originally Posted by Duracell_sk8
In next version , you can add a trail for players!
Red for Tero - Blue for CT  !
It`s just an ideea  !
You can add a menu whit glow colors or a random color for players when round starts everybody have a random color!
Good job man! 
|
Thanks, I will try my best
Quote:
Originally Posted by Xellath
PHP Code:
switch(random_num(1,8))
10 cases..?
Instead of all those cases, you could just do this to get random colors.
PHP Code:
fm_set_rendering(id, kRenderFxGlowShell, random(255), random(255), random(255), kRenderNormal, 16);
set_user_rendering from fun could be used instead, it's more efficient.
IMO you should rename the cvar to something more appropiate, like amx_randomglow, for example.
EDIT:
You shouldn't set a task in client_connect, may cause trouble. Hook spawn or new round instead.
|
Sorry for my mistake. Update V1.1
__________________