This is an quick example how to use colorchat.
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /message", "ShowMessage")
}
public ShowMessage(id)
{
new name[32]
get_user_name(id, name, 31)
ColorChat(id, GREY, "GREY: %s ^4GREEN: %s ^3TEAM COLOR: %s", name)
}
For this quick example u have to download a file called Colorchat.inc
__________________