Glow plugin, please help!
im trying to make a plugin to make players glow (red, blue, green, etc..)
i get them to glow, but now i want the player to be able to set their color Code:
public player_glow(id,level,cid)its in the place where i say if(GlowColor == "red" and "blue" and "green" and so on) are you not allowed to compared strings? and if so how do i fix this |
Well, you need to make this variable.
Code:
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:
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. |
Quote:
No just use if( equali(GlowColor , "red") ) instead of if( GlowColor == "red") |
Quote:
|
Nope.
|
| All times are GMT -4. The time now is 16:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.