16.04.2017, 23:42
PHP код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
static string[76], name_player[24];
GetPlayerName(playerid, name_player, sizeof name_player);
format(string, sizeof string, "O player %s digito o comando %s", name_player, cmdtext);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Player[i][ADMIN])
SendClientMessage(i, -1, string);//admins
}
}