06.09.2011, 19:56
pawn Code:
public OnPlayerText(playerid, text[])
{
new string[128];
format(string,sizeof(string),"{FFFF00}[%i]{FFFFFF}%s: %s",playerid,GetPName(playerid),text);
SendClientMessageToAll(GetPlayerColor(playerid),string);
return 0;
}
SetPlayerColor(playerid, 0xFFFFFFAA); // OnPlayerConnect or OnplayerSpawn