18.12.2016, 11:07
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:
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 );