Anti Weapon Hacks Not Working
#1

pawn Код:
public OnPlayerChangeWeapon(playerid, oldweapon, newweapon)
{
    new string[256];
    if(gPlayerLogged[playerid] && IsPlayerConnected(playerid))
    {
        if(!IsPlayerNPC(playerid))
        {
            if(!(PlayerInfo[playerid][pAdmin] <= 0))
            {
                new weap=GetPlayerWeapon(playerid);
                if(weap > 0 && weap != 46)
                {
                    if(weap != 25 && weap != 46)
                    {
                        if(HaveWeapon(playerid,weap) != weap)
                        {
                            if(HaveAdminWeapon(playerid,weap) != weap)
                            {
                                if(HavePaintballWeapon(playerid,weap) != weap)
                                {
                                    if(HaveEventWeapon(playerid,weap) != weap)
                                    {
                                        new WeaponName[65];
                                        GetWeaponName(weap,WeaponName,64);
                                        format(string, sizeof(string), "Hack: %s (%d) has a desynced %s",PlayerName(playerid),playerid,WeaponName);
                                        ABroadCast(COLOR_YELLOW,string, 1);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
This antiweapon hacks does not work on the new sobiet. People can bypass this.

Please someone help.
Reply
#2

IT WORKS, I FIXED IT, UNBAN ME!!! PLEASE!!
Reply
#3

it doesnt work.i unbanned.
Reply
#4

it does work, we just tested it
Reply
#5

Just use JunkBuster, it prevents more shit.
Reply
#6

ya thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)