Glowing made easy!
1 Attachment(s)
This plugin was made for facilitate the player glowing.
The colors definitions is keep in a file instead of being 'hardcoded' in the plugin, so the colors can be very easily modified, deleted, added,...No more need to re-compile the plugin!! Say you want to add a color. you add one line in the file, save it and do a 'amx_glowreload' in your server console, et voila!! The new color is ready :D Commands: - amx_glow <user> <[[flash] <color>] | OFF>: make user glowing or make it stop glowing. - amx_glowcustom <user> <r> <g> [b]: make user glowing a custom color. - amx_glowfreq <frequence>: change the frequence for multi-color glowing. - amx_glowreload : reload color definitions from cfg file. - say glow <[flash]color[color][color] | OFF | HELP>: user way of glowing. Examples: say glow help : display available colors in user console. say glow off : user stops glowing. say glow olive darkblue : user begins to glow olive and darkblue. say glow red green blue : user begins to glow red, green and blue. say glow flash magenta : user begins to glow flash magenta. say glow sweden : user begins to glow special sweden colors (blue and yellow). Have fun :wink: |
worked on my server
only thing i didnt really like was that you couldnt have more than 3 flash colors also maybe you could add a cvar that changed the intensity of the glow |
I tried different intensities before releasing the plugin and never noticed a difference, e.g. intensity 0 looks exactly like intensity 255...
|
for some reason at first when i installed the plugin, the glows were really big. but now the glows are like skin tight. huh. who knows
|
not a bad job nice :)
|
nice! i render myself 0 0 0 and im invisable! rofl
|
Can I make it more then 3 colours?
|
Re: Glowing made easy!
this is nearly perfect, all you're missing is a command that the admin can use to turn on/off the plugin...so it will be easyer than having to pause it. Nicely done though, haven't seen any others this good!:mrgreen:
|
Re: Glowing made easy!
can i make this admin commands only???? cus i dont want everyone glowing crazy. THANKS.
p.s. great plugin |
Re: Glowing made easy!
There is a line missing from the .sma file that prevents the amx_glow command from working. Add 'col[0]=i' before line 115.
for (new i=0; i<colors_got; i++) { if (equali(color_names[i], colorname)) { col[0] = i // Mistake in original code...this line added b4 line 115 do_the_code(id, player, col, 1, flash) return PLUGIN_HANDLED } |
All times are GMT -4. The time now is 02:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.