Jump to content

Changing max speed vehicle?


Jeespwnd

Recommended Posts

  • 3 months later...
Posted

No, it currently isn't possible. However, the handling functions have been re-written and

, but can't be used yet in 1.0.3, and probably won't work in 1.0.4 either. As 1.1 is the next major version, expect it to be implemented then, or maybe a release after that.

Projects:

Slothbot | Maximap

Posted

well, if you need to change max speed you can try to use setElementVelocity

something like:

if you need to reduce max speed, just temprarly disable "forward" key if speed is over your max

and if you need to raise max speed just use getElementVelocity and setElementVelocity to multiply speed if player is pressing forward, and car is on ground (to prevent from flying), and speed is under your max

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...