Hello, guys! I tried to make simple plugin, when a T/CT leaves, a red/blue message is shown on chat. Here's the code i tried:
Code:
blablabla
ColorChat(0, TEAM_COLOR, "%s (%s) has left!", name, ip)
blablabla
But when me and a friend tested it a bug occured. My friend was T and when i (CT) left, the message was in red. When my friend left the message was in red, but he was T, so ok. But i want to fix this, so when a CT leaves, the message is in blue.
sorry, my english is not good