Player and vehicle speed
#1

Hi,

I want to check if player or vehicle reach some speed, i will kick or ban him, for using hacks what speed i can tract as hack?
Reply
#2

On Foot:
https://sampwiki.blast.hk/wiki/GetPlayerVelocity

In vehicle
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
https://sampwiki.blast.hk/wiki/GetVehicleVelocity

Although I can't tell you for sure what speeds are high speeds, you'll have to test them out. Keep in mind speeds when falling when on foot may be faster than sprinting so you'll have to test a lot of scenarios to make it work well and avoid as many false-positives as possible.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)