[Ajuda] Leitura de Comandos GM
#6

Pode tentar tambйm na public OnPlayerCommandPerformed ou na public OnPlayercommandtext.

pawn Код:
new player[MAX_PLAYER_NAME],string[1000];
    GetPlayerName(playerid, player, sizeof(player));
    format(string, sizeof(string), "O player %s usou o comando [%s]", player,cmdtext);
    for(new i = 0; i < MAX_PLAYERS;i++)
   {
        if(IsPlayerAdmin(playerid))
         {
          SendClientMessage(i, -1, string);
          }
    }
Tente.
Reply


Messages In This Thread
Leitura de Comandos GM - by g0mmz - 19.03.2014, 06:10
Re: Leitura de Comandos GM - by davi54723 - 19.03.2014, 06:22
Re: Leitura de Comandos GM - by g0mmz - 19.03.2014, 06:27
Re: Leitura de Comandos GM - by davi54723 - 19.03.2014, 06:30
Re: Leitura de Comandos GM - by g0mmz - 19.03.2014, 06:53
Re: Leitura de Comandos GM - by davi54723 - 19.03.2014, 06:59
Re: Leitura de Comandos GM - by lucas_mdr1235 - 19.03.2014, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)