Weapon hack
#1

This is my anti weapon hack but this sometimes ban for no reason !
PHP код:
    if(newkeys KEY_SECONDARY_ATTACK || newkeys KEY_FIRE || newkeys KEY_ACTION  && GetPlayerWeapon(playerid) != 0)
    {
        if(
sSecure[DETECT_WEAPON] == 1)
        {
            if(!
CheckWeapons(playerid))
            {
                new 
m_weapons[13][2];
                for (new 
x=0x<13x++)
                {
                    
GetPlayerWeaponData(playeridxm_weapons[x][0], m_weapons[x][1]);
                }
                
pClient[playerid][SECURE_DELAY] = gettime()+3;
                
format(pClient[playerid][STRING_MEDIUM],SIZE_MEDIUM,""COLOR_GREY" %s(%d) > probably corrupted [weapons:onfoot]",pGeneral[playerid][PLR_NAME],playerid);
                
AdminMessage(pClient[playerid][STRING_MEDIUM]);
                
format(pClient[playerid][SECURE_WARN_TXT],26,"corrupted weapons");
                
pClient[playerid][SECURE_WARN]++;
                return 
1;
            }
        }
    } 
Reply


Messages In This Thread
Weapon hack - by Xportaler - 01.08.2017, 13:02
Re: Weapon hack - by Camtasia - 01.08.2017, 13:07
Re: Weapon hack - by Xportaler - 01.08.2017, 18:57
Re: Weapon hack - by Omirrow - 01.08.2017, 19:07
Re: Weapon hack - by Camtasia - 05.08.2017, 05:28

Forum Jump:


Users browsing this thread: 1 Guest(s)