Here's the script:
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Color Chat", "1.5", "Sutar")
set_task(2.0, "sayspl", 0, "", 0, "b")
}
public sayspl()
{
message_begin(MSG_ALL, get_user_msgid("TeamInfo"))
write_byte(0)
write_string("TERRORIST")
message_end()
message_begin(MSG_ALL, get_user_msgid("SayText"))
write_byte(0)
write_string("^x03Red color")
message_end()
}
How to make colored message, without the player id?