Raised This Month: $ Target: $400
 0% 

More glow help :/


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-18-2007 , 20:02   Re: More glow help :/
Reply With Quote #1

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
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode