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.
__________________