You can't print colors with default amxx natives, you have to use my colorchat plugin, or any colorchat include, or to make your own code into your plugins.
If you don't need colorchange, and if you don't need ML support with id=0 and LANG_PLAYER, then you can use this simple stock :
PHP Code:
colorchat_simple(id, const fmt[], any:...)
{
static iMsgSayText
if( !iMsgSayText )
{
iMsgSayText = get_user_msgid("SayText")
}
new szMessage[192]
vformat(szMessage, charsmax(szMessage), fmt, 3)
message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, iMsgSayText, .player=id)
write_byte(id ? id : 1)
write_string(szMessage)
message_end()
}
__________________