Thread: [Solved] [REQ - TF2]Team name colored
View Single Post
Walgrim
AlliedModders Donor
Join Date: Dec 2015
Location: France
Old 08-20-2016 , 10:08   Re: [REQ - TF2]Team name colored
Reply With Quote #5

Quote:
Use the return Plugin_Handled at the end of the command listener callback so it doesn't print the original chat command and prints the custom message with colors. That should work, if the colors are applying correctly as you planned you should be free to go.
Ok and how can I do something like, when a player is dead CPrintToChatEx(client, client, "*DEAD*{darkgrey}%s{default} : %s", sClientName, sMessage) ?
And do something like CPrintToChat can use the chat team without showing a message to all?
__________________

Last edited by Walgrim; 08-20-2016 at 11:49.
Walgrim is offline