04.07.2013, 10:32
pawn Код:
public OnPlayerText(playerid, text[])
{
new name[MAX_PLAYER_NAME+1], msg[128];
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "[%02d] %s: {FFFFFF}%s", playerid, name, text);
SendClientMessageToAll(GetPlayerColor(playerid), msg);
return 0;
}