31.10.2011, 12:49
pawn Код:
public OnPlayerText(playerid, text[]) {
new
cString[128],
pName[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(cString, sizeof(cString), "%s(%d): {FFFFFF}%s", pName, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), cString);
return 0;
}