02.03.2013, 14:57
hello guys. i just have a problem about OnPlayerText
SetPlayerColor(playerid, COLOR_BLUE); sets player to color blue.
but how even my color is blue it doesn't show the right color everytime i wrote a message it just stays white
Here's my whole OnPlayerText
SetPlayerColor(playerid, COLOR_BLUE); sets player to color blue.
but how even my color is blue it doesn't show the right color everytime i wrote a message it just stays white
Here's my whole OnPlayerText
pawn Код:
public OnPlayerText(playerid, text[])
{
new playercolour =GetPlayerColor(playerid);
new msg[128];
format(msg,sizeof(msg),"%s[%d]: {FFFFFF}%s",PlayerName(playerid),playerid, text[0]);
SendPlayerMessageToAll(playercolour, msg);
return 0;
}