Look at, amxmodx/scripting/includes folder in amxxconst.inc, AMXX 1.19, 1,10 Already has it's own chat colors included.
PHP Code:
/**
* Color types for client_print_color()
*/
enum
{
print_team_default = 0,
print_team_grey = -1,
print_team_red = -2,
print_team_blue = -3,
};
You need to change
PHP Code:
client_print(id, print_chat, "[AFK] %L", LANG_PLAYER, "AFK_KICK_WARN", floatround(FREQ_AFK_CHECK) * (MAX_WARN - g_iWarn[id]))
to
PHP Code:
client_print_color(id, print_team_default, "[AFK] %L", LANG_PLAYER, "AFK_KICK_WARN", floatround(FREQ_AFK_CHECK) * (MAX_WARN - g_iWarn[id]))
And then u can use in line:
^3 = print_team_default
^2 = print_team_red
^1 = print_team_blue
^4 = print_team_gray
__________________