The first argument of the set_rendering function is which entity to target. So, combining the code:
Code:
public GlowMenuChoice(id, key)
{
new Client[21]
get_user_name(id,Client,20)
switch(id)
{
case 0:
{
set_hudmessage(255,0,0, 0.02, 0.73, 0, 6.0, 8.0, 0.1, 0.2, 4)
show_hudmessage(0, "%s's Sentry Gun is now glowing Red!",Client)
new sentry = find_ent_by_owner(0,"tfc_wpn_sentrygun",id);
if(sentry) set_rendering(sentry,kRenderFxGlowShell,255,0,0,kRenderNormal,25)
}
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS