First of all, you need to read the link that Moody92 posted above.
BTW Moody92 your wrong about 'there is no need to change the sma', read the link you posted carefully
Quote:
|
Originally Posted by [B
ConnorMcLeod[/B]]In ML files you still have to use !g, !t and !n, but in plugin, user register_dictionary_colored instead of register_dictionary.
|
So you need to add/change these to the sma:
PHP Code:
// This is just a comment, add the line below at the first of the sma (after the includes)
#include <colorchat>
And put the colorchat.inc in the addons\amxmodx\scripting\includes folder.
PHP Code:
// Change this ---->
register_dictionary
PHP Code:
// To this ------>
register_dictionary_colored
As it says in the link, !g is for green, !t is for team color (if the player is a T he will see the message in red, if he was a CT he will see it in blue and for last if he was a Spectator then he will see it in white\grey), also, last but not least !n is for normal messages (the yellow color I suppose).
Here are few examples:
Code:
ADMIN_MAP_1 =!g[ Land Of KillerS ] !nADMIN: !tchangelevel !n%s
This message will appear like this for CT's:
[ Land Of KillerS ] ADMIN: changelevel %s
And for T's:
[ Land Of KillerS ] ADMIN: changelevel %s
I'm sorry the yellow color is so bright. 
I hope you have understood what I said.