20.11.2010, 14:48
Takes just a few lines in OnPlayerText:
pawn Код:
new name[24], txt[256];
GetPlayerName(playerid, name);
format(txt, 256, "%s (%d): %s", name, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), txt);
return 0; //this is important, or the message will be sent twice