SA-MP Forums Archive
Changing the vehicles speed - 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: Changing the vehicles speed (/showthread.php?tid=561535)



Changing the vehicles speed - Luis- - 03.02.2015

I know there's no function (yet) to actually set a vehicles speed, so I was thinking of using SetVehicleVelocity? I've been thinking of creating a system which would go through a list of vehicle speeds from an array and set the speed of the vehicle.

Say an Infernus is limited to 220 MP/H how would I go about actually setting that speed?