Code:
public glow_players()
{
static players[32], num
get_players(players,num)
for(new i=0;i<num;i++) {
new id = players[i]
switch(cs_get_user_team(id))
{
case CS_TEAM_CT: set_user_rendering(id,kRenderFxGlowShell,0,0,255,kRenderNormal,20)
case CS_TEAM_T: set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,20)
}
}
}
If you call this function, it should do what you want.
You need to include the Cstrike module, and the fun module.
Code:
#include <cstrike>
#include <fun>
__________________