Parachute anti-hack!
#1

Hello all!Today i created a code that will check when players hacks parachute.I need this because players can avoid being detected from other weapon hacking by just spawning a parachute.Code is working good and it detects parachute hack,but there is a problem when players jump from helicopters,planes.....They will get a parachute from that and then will get banned for parachute hacking.Is there any way how i can prevent that??!

CODE:

Код:
else if( PlayerInfo[playerid][pGuns][11] != 46 && GetPlayerWeapon( playerid ) == 46)
        {
            if(PlayerInfo[playerid][pConnectTime] < 2)
            {
                new WeaponName[32];
				GetWeaponName(newweapon, WeaponName, sizeof(WeaponName));
				new string[128];
				format(STRING, "Weapon Hacking: %s", WeaponName);
				BanPlayer(501, playerid, 0, string);
				TotalAutoBan++;
			}
            CheckHack( playerid, newweapon );
Reply


Messages In This Thread
Parachute anti-hack! - by daghost111 - 18.12.2016, 11:07
Re: Parachute anti-hack! - by MerryDeer - 18.12.2016, 11:30
Re: Parachute anti-hack! - by CodeStyle175 - 18.12.2016, 12:33
Re: Parachute anti-hack! - by JaKe Elite - 18.12.2016, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)