Thread: Glow Menu
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
TheDemonIII
Junior Member
Join Date: Aug 2005
Old 07-01-2007 , 17:36   Glow Menu
Reply With Quote #1

This plugin allows glowing capablities for all players through the use of a menu.
All colors for glowing must be in the file "addons/amxmodx/configs/Glowcolors.txt" in the form of
Color RED GREEN BLUE
where Color is the name of the color to appear in the menu
and RED GREEN BLUE are R-G-B values between 0 and 255
each must be on its own seperate line and there should be no empty lines in between colors or at the end of the file

You can set the maximum amount of colors in the .sma file

When a player joins the server, it tells them how to start glowing
---------------------------------------------------------------------------
this is my first plugin that I made incorporating files and the first that I'm putting out in the open. I hope that you enjoy it

Attached is the plugin as well as a sample Glowcolors.txt with a few colors already in it, please feel free to add as many as you want.

Usage: say 'glow' in game chat (without the '') and chose a color off the list

Version 1.1 (thanks to Emp`for some tips)
-added amx_reloadglow : used to reread the Glowcolors.txt instead of having to restart the server or reload the plugin
-Glowcolors.txt doesn't have to be in addons/amxmodx/configs/, it just has to be in your configs folder (uses get_configsdir)
Attached Files
File Type: txt Glowcolors.txt (170 Bytes, 6665 views)
File Type: sma Get Plugin or Get Source (glowmenu.sma - 10592 views - 4.5 KB)

Last edited by TheDemonIII; 07-02-2007 at 15:20.
TheDemonIII is offline