05.07.2011, 10:19
How can I change the color of global chat?
public OnPlayerText(playerid, text[])
{
new Ftext[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
format(Ftext,sizeof(Ftext),"[%i]%s: %s",playerid,name,text);
SendClientMessageToAll(COLOR_HERE,Ftext); // Change 'COLOUR_HERE' with any colour you like..
return 0;
}
pawn Код:
|