Anti Cleo Kill Player - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti Cleo Kill Player (
/showthread.php?tid=647174)
Anti Cleo Kill Player -
Brooks1 - 30.12.2017
So I have read so many threads in the forum that with some pawn scripting every CLEO hack can be blocked.
Then anyone has ideas how this can be blocked?
https://www.youtube.com/watch?v=CaoXObXJYxg
Re: Anti Cleo Kill Player -
Abagail - 31.12.2017
Judging by the weapon randomly losing ammo, this is probably using direct bullets (GetPlayerWeapon is 0). The real weaponid however shows in OnPlayerWeaponShot, so if you already store weapons given, check if they have that weapon. You could also check GetPlayerWeapon but there might be desync or other issues, so don't auto-ban if you use that only.