SA-MP Forums Archive
Is it possible to turn off acceleration/revers in 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible to turn off acceleration/revers in vehicle? (/showthread.php?tid=82608)



Is it possible to turn off acceleration/revers in vehicle? - Haron - 19.06.2009

Is it possible to turn off acceleration/revers in vehicle without freezing of driver?


Re: Is it possible to turn off acceleration/revers in vehicle? - woot - 19.06.2009

No.


Re: Is it possible to turn off acceleration/revers in vehicle? - kaisersouse - 19.06.2009

You could use a timer to check vehicles position every second and reset it back to its original position if it changes. Other than that no you really can't (short of locking them out of the vehicle).

EDIT: you could also use OnPlayerUpdate for that but I don't know how laggy that would be


Re: Is it possible to turn off acceleration/revers in vehicle? - Haron - 19.06.2009

thanks)