[REQ - TF2]Team name colored
Hello !
For a while now, I was looking for changing team name colors (I will explain what I'm looking for and what I tried). So yes, team name colors like when a player is in the blue team, his name is blue and for example I want it in a different color like a different blue name, same case for Red Team and Spectator. I tried some things with morecolors, without success (sad :x), the only things I did is this : PHP Code:
NB : Sorry if my English is bad :3 |
Re: [REQ - TF2]Team name colored
Hey there!
First, when you need to send code trough a forum post, wrap it around with the [CODE]. Code:
/** RED Team: FF4040 BLU Team: 99CCFF So the code instead would be: Code:
#include <sourcemod> Hope it helps! Didn't test this. |
Re: [REQ - TF2]Team name colored
Ok so first, thank you for your reply ! :)
So I tried to compile what you said and I get this : PHP Code:
PHP Code:
CPrintToChat just print to chat so players can't use (TEAM) canal. I'm using custom chat colors so the problem is this : http://puu.sh/qHMwI/42c03660c3.jpg I tried something with the admin flag root without success (as far as I remember). The third one is, when I'm dead it's printing like this : Walgrim : blabla (I think there's something to do with player_death or something but i don't know how to use that). EDIT : I used return Plugin_Handled because it's replacing the username, Plugin_Handled don't show the chat as you said but it shows the CPrintToChat, now it's printing 2 messages from me without it. (It's like in the picture). |
Re: [REQ - TF2]Team name colored
Quote:
|
Re: [REQ - TF2]Team name colored
Quote:
And do something like CPrintToChat can use the chat team without showing a message to all? |
Re: [REQ - TF2]Team name colored
Ok so I did it for dead players and spectators ones.
Still don't know how I can change names color in the team chat area, someone can help? EDIT : Problem with admin commands, everyone can see the "/" I actually did this for the moment : PHP Code:
|
Re: [REQ - TF2]Team name colored
Anyone can help me to understand how I can use simple chat processor and how have the colors I want? (I want to replace "(Voice) Walgrim : MEDIC!" color team too)
|
Re: [REQ - TF2]Team name colored
Solved, I did it ;P
|
All times are GMT -4. The time now is 02:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.