AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Glowing made easy! (https://forums.alliedmods.net/showthread.php?t=17589)

bahr 09-04-2005 14:59

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:

Emp` 09-05-2005 17:54

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

bahr 09-05-2005 20:24

I tried different intensities before releasing the plugin and never noticed a difference, e.g. intensity 0 looks exactly like intensity 255...

Emp` 09-05-2005 21:10

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

wiggles 09-05-2005 23:20

not a bad job nice :)

jurugi 11-14-2005 20:16

nice! i render myself 0 0 0 and im invisable! rofl

DyingToLive 01-19-2006 20:10

Can I make it more then 3 colours?

waffen 08-24-2006 00:30

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:

sniperkid0508 08-24-2006 02:34

Re: Glowing made easy!
 
can i make this admin commands only???? cus i dont want everyone glowing crazy. THANKS.


p.s. great plugin

White Bishop 04-06-2008 09:49

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.