If you want to go a bit further to basically turn off all the chatting you can do this:
cg_teamChatHeight 0 //number of rows of chats
cg_teamChatsOnly 1 //toggles only displaying chats from teammates
cg_teamChatTime 0 //duration chats are displayed for
That should turn everything off pretty much. Haven't tested it but see how you go.