Jump to content

Help with speed limit


MTDayZ

Recommended Posts

Posted

Hello good morning, I have a problem that I don't know how to solve and I would like your help
I'm learning to script now and I'm trying to make a script that takes the speed off the streets in the MTA
I used the code setWorldSpecialPropertyEnabled as you can see below, but it only slows down some avenues, not all streets.
if anyone can help me i would be very grateful

                      

 

                         spacer.png

 

Posted
15 minutes ago, shishani said:
You can specify the transport speed in the setModelHandling function.

Example:
setModelHandling(415, "maxVelocity", 150) -- sets vehicle speed "cheetah" to 150
 

Hey, thanks for the reply

 

 

Even doing this, the vehicle continues with different limits on different streets, for example, if I put a limit of 300 on the cheetah, on avenues it reaches this speed, but on streets within the city it limits to 200 or less
  • Human Resources Staff
Posted
1 hour ago, MTDayZ said:

SOLVED!

hi MTDayZ, could you please share how you've solved your issue? Your solution might help people in the future

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...