[Ajuda] Anti hack de armas
#9

Tente assim:
pawn Код:
public AntiCheatUpdate(playerid)
{
    new slot = GetMaxPlayers();
    while(slot--)
    {
        if(IsPlayerConnected(slot) && !IsPlayerAdmin(slot) && !MinigunGranted[playerid])
        {
            new pName[MAX_PLAYER_NAME];
            new ArmaNome[17];
            GetPlayerName(slot, pName, sizeof(pName));
            switch(GetPlayerWeapon(slot))
            {
                case 35: ArmaNome = #Rocket Launcher;
                case 36: ArmaNome = #Bazuca;
                case 37: ArmaNome = #Lanзa Chamas;
                case 38: ArmaNome = #Minigun;
                default: goto stop;
            }
            if(arena[playerid] == false)
            {
                format(stringx,128,"[Anti-Noob]: %s Foi kickado [motivo: Arma Proibida: %s ]",pName,ArmaNome);
                SendClientMessageToAll(VERMELHO,stringx);
                Kick(slot);
            }
            stop:
        }
    }
    return true;
}
Reply


Messages In This Thread
[Off] Anti hack de armas - by zuero - 27.06.2014, 23:27
Re: Anti hack de armas - by MultiKill - 27.06.2014, 23:37
Re: Anti hack de armas - by zuero - 27.06.2014, 23:51
Re: Anti hack de armas - by MultiKill - 27.06.2014, 23:53
Re: Anti hack de armas - by zuero - 27.06.2014, 23:56
Re: Anti hack de armas - by MultiKill - 28.06.2014, 00:03
Re: Anti hack de armas - by zuero - 28.06.2014, 00:04
Re: Anti hack de armas - by zuero - 28.06.2014, 00:17
Re: Anti hack de armas - by MultiKill - 28.06.2014, 00:23
Re: Anti hack de armas - by zuero - 28.06.2014, 00:24

Forum Jump:


Users browsing this thread: 4 Guest(s)