Hey guys ive tried to add colorchat.inc to ad_manager but
with this code ( want to add grey color as a command !gg = grey !g = green )
Quote:
#include <amxmodx>
#include <amxmisc>
#include <colorchat> // added this
|
Quote:
if (contain(string, "!t") != -1 || contain(string, "!g") != -1 || contain(string,"!n") != -1 || containt(string, "!gg") != -1) //added !gg
{
//Some nice shiny colors ^^
replace_all(string, len, "!t", "^x03");
replace_all(string, len, "!n", "^x01");
replace_all(string, len, "!g", "^x04");
replace_all(string,len , "!gg","GREY"); // added
|
orginal code from ad_manger.sma
P.S Ive never coded before and i cant find any tuts on how to add the color grey to ad_manager