09.03.2015, 21:02
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "Player %s has used %s", pName, cmdtext);
SendClientMessageToAll(-1, string);
return 1;
}