[AJUDA] ANti-Weapon Hack
#3

pawn Код:
forward ChecarCheater(playerid);
public ChecarCheater(playerid)
{
        if(GetPlayerSpecialAction(playerid) == 2 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Jet-Pack ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        new Float:Vida;
        GetPlayerHealth(playerid, Vida);
        if(Vida > LIFE && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Health Hack ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        new Float:Colete;
        GetPlayerArmour(playerid, Colete);
        if(Colete > ARMOUR && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Armor Hack ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 18 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Molotov Cocktail ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }
       
        if(GetPlayerWeapon(playerid) == 17 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Bomba de Gбs ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 35 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Rocket Launcher ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 36 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Bazuca ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 37 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Lanзa Chamas ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 38 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Minigun ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 39 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Satchel Charge ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 40 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Detonador ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 44 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Visгo Noturna ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }

        if(GetPlayerWeapon(playerid) == 45 && !IsPlayerAdmin(playerid)) {
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(stringx,128,"{FF0000}[ANTI-CHEAT]: %s Foi kickado pelo administrador BOT [motivo: Arma Proibida: Visгo Noturna ]",pName);
            SendClientMessageToAll(0xFF0000AA,stringx);
            Kick(playerid);
            return 1;
        }
    return 1;
}
Deve funcionar, testae
Reply


Messages In This Thread
[AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 08:47
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 09:50
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 10:09
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 10:11
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 10:20
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 11:04
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 11:08
Re: [AJUDA] ANti-Weapon Hack - by [S]trong - 16.11.2011, 13:23

Forum Jump:


Users browsing this thread: 2 Guest(s)