24.11.2009, 15:23
Quote:
Originally Posted by virspector
Only normal chat that can do like this:
iAmPoliCE: Hello! If u use SendClientMessage thing, it's IMPOSSIBLE to make part of it White and another part of it other color except if they are in different line. So, nothing that you can do. What you can do is let all the colors the same in 1 line... |
A little thing I made a little while ago:
pawn Код:
public SendCustomMessage(playerid,color,string[],string2[])
{
new pNames[MAX_PLAYER_NAME],color2;
GetPlayerName(playerid,pNames,sizeof(pNames));
color2 = GetPlayerColor(playerid);
SetPlayerColor(playerid,color);
SetPlayerName(playerid,string);
SendPlayerMessageToAll(playerid,string2);
SetPlayerName(playerid,pNames);
SetPlayerColor(playerid,color2);
}
