Sign in to follow this  
FlatYakVolunteer

Unlimited vehicle speed

Recommended Posts

Hello guys. 

I want to ask you, how I can unlitimed speed on the vehicle? Because speed limited on vehicle 120 km/h.

And can this be done at all?

Thank you for help 😃

Share this post


Link to post
Share on other sites

To set your wanted max speed:

let vehicle = mp.players.local.vehicle

let speed = (speed_in_kmh / 3.6) 

vehicle.setMaxSpeed(speed)

setMaxSpeed

Edited by Captien
  • Like 2

Share this post


Link to post
Share on other sites
3 hours ago, Captien said:

To set your wanted max speed:

let vehicle = mp.players.local.vehicle

let speed = (speed_in_kmh / 3.6) 

vehicle.setMaxSpeed(speed)

setMaxSpeed

thanks

  • Mask 1
  • Confused 1

Share this post


Link to post
Share on other sites
16 hours ago, Mentanding said:

And how can you increase the speed? Instead of 160 maybe 220?

you've been told already. Use vehicle.setMaxSpeed.

Share this post


Link to post
Share on other sites
vor 10 Stunden schrieb robearded:

you've been told already. Use vehicle.setMaxSpeed.

u dont understand, i dont know if u dont know what the function does...

if u set the max Speed to 50 the car only drives max 50 mph/km/h

how can i set the realMaxSpeed so that i can drive 260 instead of 160?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.