SA-MP Forums Archive
How to know when a player is at max speed of that vehicle? - 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 know when a player is at max speed of that vehicle? (/showthread.php?tid=384443)



How to know when a player is at max speed of that vehicle? - gnoomen2 - 11.10.2012

Here is a link of the vehicles, and lets take an example out of admiral: http://en.wikigta.org/wiki/Vehicles_...San_Andreas%29

The admirals max speed is 165 km/u and how can i make it like if it is that speed then set the speed a bit higher with setplayervelocity?

If you can just answer this, if i set the velocity to 0.165 then i get the max speed of the admiral?

EDIT: I cant make this, because i cant set the speed of the car in the direction it is facing?

I want to make a car upgrade thing :/