13.08.2009, 17:47
pawn Код:
public OnPlayerText(playerid, text[])
{
new string[256];
GetPlayerName(playerid, name, 32);
format(string,sizeof(string),"%s (%d): %s", name, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
fwrite(chatlog, string);
}
I want this to show the text as white, but the name as the Color above, but i have no idea how.
So i want to show it like
Headucation (0): Hello
Please someone help me with this, And fix my command? I know this is possible.
Thanks in advance