![]() |
|
[Filterscript] Anti Silent Aimbot (Johnny Project Fix) - Printable Version +- open.mp forum (https://forum.open.mp) +-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) +--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13) +---- Forum: Filterscripts (https://forum.open.mp/forumdisplay.php?fid=30) +---- Thread: [Filterscript] Anti Silent Aimbot (Johnny Project Fix) (/showthread.php?tid=1942) |
Anti Silent Aimbot (Johnny Project Fix) - Hata - 2021-04-24 Hello all of you, i'm new to the burger shot platform and wanted to share a cheat i fixed with you. Code: public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if (hittype == BULLET_HIT_TYPE_PLAYER)
{
new
Float:fOriginX, Float:fOriginY, Float:fOriginZ,
Float:fHitPosX, Float:fHitPosY, Float:fHitPosZ;
GetPlayerLastShotVectors(playerid, fOriginX, fOriginY, fOriginZ, fHitPosX, fHitPosY, fHitPosZ);
new Float:BulletDistanceForHit = GetPlayerDistanceFromPoint(hitid, fHitPosX, fHitPosY, fHitPosZ);
if (BulletDistanceForHit == 0 && (weaponid > 21 && weaponid != 35 && weaponid != 42 && weaponid < 47))
{
return 0; //It prevents the bullet from reaching the target player.
}
}
}RE: Anti Silent Aimbot (Johnny Project Fix) - Chaprnks - 2021-05-21 Is this fixed version included in your H-AC anticheat? Also, you should consider using GitHub to host your scripts. RE: Anti Silent Aimbot (Johnny Project Fix) - RainG - 2021-11-03 so where's the pwn.inc file? |