Posts: 366
Threads: 113
Joined: Feb 2014
Hello , i want to know how to change the player text message color?
Posts: 766
Threads: 66
Joined: Feb 2014
Reputation:
0
Explain more. I don't understand a shit..
What text message, where do you send that message? Show a part of its code.
Posts: 19
Threads: 2
Joined: Dec 2014
Reputation:
0
i think do you mean the text on the chat... Show me your enum and i will do it.
Posts: 366
Threads: 113
Joined: Feb 2014
For Example , player type "hello" so his text will be show to players in white color but i want to make different. When player type /red so his text message appear is red such that if he type "hello" players will see his message in red color.
Posts: 366
Threads: 113
Joined: Feb 2014
i am getting error in that code about mismatch of argument.
I got the solution from wiki . but i have another problem
PHP код:
#define COLOR_RED_EMBED "FF0000"
SendClientMessage(playerid, -1, "This is white and {"COLOR_RED_EMBED"}this is red.");
if i add the above code in OnPlayerText then it will send the message to that player in white and red color . but i want that if the player type /red then only in that case the half message appears red and if he again type /red so the code reset to default (all text appear in white)
Posts: 19
Threads: 2
Joined: Dec 2014
Reputation:
0
ow i think that is Impossible
i think you want this:
Player: Hello
and then when he type /red it should be like this:
Player: Hello
Yes i think that is impossible :3