04.04.2017, 12:26
(
Последний раз редактировалось AuhMaru; 04.04.2017 в 15:00.
)
Код:
public OnPlayerCommandReceived(playerid, cmdtext[]) { for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(VerCmds[i] == 1 && Jogador[i][Admin] == 4) { static string[100]; format(string, sizeof(string), "| COMANDO | O(A) %s(%d) digitou o comando '%s'", PlayerName(playerid), playerid, cmdtext); SendClientMessage(i, 0x0080C0AA, string); } } } return 1; }