[AJUDA] Code para ver os comandos digitados
#10

@Toppic:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     EnviarMSGAdmin(playerid,cmdtext);
     return 0;
}

stock EnviarMSGAdmin(playerid,cmdtext[])
{
    new stringcmd[100];
    new playa[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playa,MAX_PLAYER_NAME);
    format(stringcmd,100, "O jogador %s Id:%d Digitou o Comando: %s", playa,playerid,cmdtext);
    for(new i=0; i<MAX_PLAYERS; i++)  if(IsPlayerAdmin(i))
    {
         SendClientMessage(i,0xFFFFFFAA, stringcmd);
    }
    return true;
}
@Dark:
WtF? CrossFire?atй o pc carroзa do meu pai roda -q
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)