Raised This Month: $ Target: $400
 0% 

Glow plugin, please help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 05-29-2006 , 23:54  
Reply With Quote #2

Well, you need to make this variable.
Code:
new GlowColor[33]

And in your command you don't need to check for access, if you want all players to use it, so in the glow function lets just say the function is glow and this is how it should look:
Code:
public glow(id) {    if( equali(GlowColor , "red"))    {     set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,25)      }      if( equali(GlowColor , "green"))    {     set_user_rendering(id,kRenderFxGlowShell,0,255,0,kRenderNormal,25)      }    if( equali(GlowColor , "blue"))    {     set_user_rendering(id,kRenderFxGlowShell,0,0,255,kRenderNormal,25)      }    return PLUGIN_HANDLED }

Did this fast, kinda didn't understand your post but I think that's what you want shortened and less complicated.

*EDIT* Fixed it, thanks Suicide.
Peli is offline
Send a message via MSN to Peli
 



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 16:29.


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