How to detect car troll? Please +rep - 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: How to detect car troll? Please +rep (
/showthread.php?tid=548148)
How to detect car troll? Please +rep -
Shura - 27.11.2014
Hello, you're fucking my server, someone could help me with this kind of thing? I try to make an anti hack for this but I can not think of anything. Please, have more than 100 users daily and do not know how to do ...
Re: How to detect car troll? Please +rep -
M4D - 27.11.2014
It works very good !
it also avoid car crashers (with vehicle mod) !
https://sampforum.blast.hk/showthread.php?tid=317303
by Jernijel
Good Luck
Respuesta: How to detect car troll? Please +rep -
Shura - 27.11.2014
Thanks, but that is disabled components I need one that could blow cars the way in which he is seen in the image. :/
Re: How to detect car troll? Please +rep -
Schneider - 27.11.2014
You could use the function "
GetVehicleVelocity" in a loop that's going through all vehicles and check if the Z-velocity (= up or down) has a high value while X and Y are staying (almost) the same.
Respuesta: How to detect car troll? Please +rep -
Shura - 27.11.2014
and if not change the position of the Z hack? Then I could use it on the floor :/
Re: How to detect car troll? Please +rep -
n0minal - 27.11.2014
Which keys this players hacks use to troll another players cars?
Re: How to detect car troll? Please +rep -
AIped - 28.11.2014
Quote:
Originally Posted by Schneider
You could use the function " GetVehicleVelocity" in a loop that's going through all vehicles and check if the Z-velocity (= up or down) has a high value while X and Y are staying (almost) the same.
|
This works fine on UnoccupiedVehicleUpdate but you also need to check if the vehicle is being towed (if you got towtrucking ability in your server).