02.03.2010, 05:58
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[160];
new name[32];
GetPlayerName(playerid, name, sizeof(name));
format(str, sizeof(str), "%s(%d): %s", name, playerid, text);
SendClientMessageToAll(0xFFFFFFAA, str); // Replace the 0xFFFFFFAA (White) with some team color checking
return 0;
}