Anticheat not work.
#1

Hello !

I have an anticheat, but, it's not work, look:

pawn Код:
static pWeapons[12] = {0};
static pAmmo[12] = {0};

public OnPlayerUpdate(playerid)
{
    new weapons[12], ammo[12];
    for(new s = 0; s < 12; s++)
    {
        GetPlayerWeaponData(playerid, s, weapons[s], ammo[s]);
        if(weapons[s] != pWeapons[s] && GetPVarInt(playerid, "Weapons") != 1) BanEx(playerid, "Cheat!");

        pWeapons[s] = weapons[s];
    }

}
In my command for give weapon:

pawn Код:
SetPVarInt(playerid, "Weapon", 1);
But it still detects a cheat while no ..
Reply


Messages In This Thread
Anticheat not work. - by Baltimore - 13.01.2015, 18:00
Re: Anticheat not work. - by LucaAllexandre - 13.01.2015, 20:29
Re : Anticheat not work. - by Baltimore - 13.01.2015, 20:33
Re: Anticheat not work. - by Threshold - 14.01.2015, 01:25
Re: Anticheat not work. - by Evocator - 14.01.2015, 04:40

Forum Jump:


Users browsing this thread: 2 Guest(s)