SA-MP Forums Archive
AntiCheat - 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: AntiCheat (/showthread.php?tid=624835)



AntiCheat - Micko123 - 23.12.2016

I am making anti-speed hack. I know how to do it and it is working. Only there is one problem.
Lets say if he drives infernus and his speed is over 260 he will get kicked. Problem is that if he is falling from mountaint he will exceed that speed and will also get kicked. Is there any way to bypass this??


Re: AntiCheat - BiosMarcel - 23.12.2016

Check if the Cars Z position is in the air, you can achieve that with this plugin:
MapAndreas



Re: AntiCheat - SoLetsGO - 23.12.2016

Of course. GetVehicleVelocity has 3 coordinates: x,y,z.
You can just check the single coordinates and if the z (up and down) coordinate is very high you can see that the main reason for the high velocity is the z speed. You just have to make adjustements to find the perfect value.


Re: AntiCheat - Micko123 - 23.12.2016

Ok thx