Jump to content

Handling for all trams.


Recommended Posts

Posted

I have put a mod on the server for trams, but its sunk into the ground a little, so I am trying to add the handling it came with

TRAM 1900.0 4795.9 1.0 0.0 -0.3 0.0 85 0.97 0.77 0.51 5 150.0 25.0 5.0 R P 8.5 0.45 0 30.0 1.3 0.08 0.0 0.3 0.2 0.0 0.5 0.2 0.50 26000 1 400000 0 1 13  

How can I add this to ALL trams that get spawned?

Posted
I have put a mod on the server for trams, but its sunk into the ground a little, so I am trying to add the handling it came with
TRAM 1900.0 4795.9 1.0 0.0 -0.3 0.0 85 0.97 0.77 0.51 5 150.0 25.0 5.0 R P 8.5 0.45 0 30.0 1.3 0.08 0.0 0.3 0.2 0.0 0.5 0.2 0.50 26000 1 400000 0 1 13  

How can I add this to ALL trams that get spawned?

Use for loop to add it to all trams.

Also, to edit handlings, use setVehicleHandling.

setVehicleHandling 

If I helped you, please click the like button on the right ;) Thanks!

Posted

There's no need to loop if I'm right, there's a function to set a vehicle model handling:

setModelHandling 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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