Raised This Month: $66 Target: $400
 16% 

Glowing made easy!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   EKS (167)
bahr
Member
Join Date: Aug 2005
Old 09-04-2005 , 15:59   Glowing made easy!
Reply With Quote #1

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

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
Attached Files
File Type: zip plugin_glow.zip (30.4 KB, 2326 views)
bahr is offline
Send a message via MSN to bahr
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 09-05-2005 , 18:54  
Reply With Quote #2

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
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
bahr
Member
Join Date: Aug 2005
Old 09-05-2005 , 21:24  
Reply With Quote #3

I tried different intensities before releasing the plugin and never noticed a difference, e.g. intensity 0 looks exactly like intensity 255...
bahr is offline
Send a message via MSN to bahr
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 09-05-2005 , 22:10  
Reply With Quote #4

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
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
wiggles
Member
Join Date: Aug 2005
Old 09-06-2005 , 00:20  
Reply With Quote #5

not a bad job nice
wiggles is offline
jurugi
Junior Member
Join Date: Apr 2005
Old 11-14-2005 , 21:16  
Reply With Quote #6

nice! i render myself 0 0 0 and im invisable! rofl
jurugi is offline
DyingToLive
Junior Member
Join Date: Oct 2005
Old 01-19-2006 , 21:10  
Reply With Quote #7

Can I make it more then 3 colours?
DyingToLive is offline
waffen
Junior Member
Join Date: Aug 2006
Location: Midland,MI
Old 08-24-2006 , 01:30   Re: Glowing made easy!
Reply With Quote #8

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!
waffen is offline
sniperkid0508
Junior Member
Join Date: Jun 2006
Old 08-24-2006 , 03:34   Re: Glowing made easy!
Reply With Quote #9

can i make this admin commands only???? cus i dont want everyone glowing crazy. THANKS.


p.s. great plugin
sniperkid0508 is offline
White Bishop
Junior Member
Join Date: Apr 2008
Old 04-06-2008 , 10:49   Re: Glowing made easy!
Reply With Quote #10

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
}
White Bishop is offline
Reply


Thread Tools
Display Modes

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 07:19.


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