Vehicle max speed
#1

Hello, I want to set vehicle max speed. How do it? In GUI players write max speed (example 20km/h).
Reply
#2

https://sampwiki.blast.hk/wiki/SetVehicleVelocity
https://sampwiki.blast.hk/wiki/GetVehicleVelocity
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
https://sampwiki.blast.hk/wiki/SetTimer

A combination of these, and other obvious functions and callbacks belonging to them should do the trick
Reply
#3

I have made this include a few weeks/months ago: https://sampforum.blast.hk/showthread.php?pid=3489154#pid3489154

Checkout the example related to speed capping, that is what you need.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)