Posts: 10
Threads: 2
Joined: Oct 2011
Reputation:
0
Hey,
Does anyone know how I can create an anti vehicle teleport script ?
An fucking Hacker does teleport hunderts of vehicles -_-
Posts: 10
Threads: 2
Joined: Oct 2011
Reputation:
0
Yes, but to do that he must be in the car but he only teleports the vehicles but dont go in it ?
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
You can get a player's position, the vehicle he is in, then get his velocity, calculate the overall velocity, then within 5 seconds, get both of the player and vehicle's position, calculate the distance between them, divide it by the velocity and if the result is way over 5 seconds, ban him.