09.08.2014, 04:05
Hey Guys I Want To Ask How to Make Player Chat Format Like (playername[id] : Text )
I Have a Script But The Problem Is Player Color In Chat Always White Why

Sorry For My Bad English
I Have a Script But The Problem Is Player Color In Chat Always White Why

pawn Код:
public OnPlayerText(playerid, text[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s[%i]: %s" ,pName,playerid,text);
printf(string);
SendClientMessageToAll(-1,string);
return 0;
}