04.01.2014, 09:03
pawn Код:
public OnPlayerText(playerid, text[])
{
new msg[128], name[MAX_PLAYER_NAME];
{
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "%s[%d]: %s", name, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), msg);
}
return 1;
}