benwilkins Posted May 20, 2012 Share Posted May 20, 2012 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? Link to comment
myonlake Posted May 20, 2012 Share Posted May 20, 2012 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 Link to comment
Castillo Posted May 20, 2012 Share Posted May 20, 2012 There's no need to loop if I'm right, there's a function to set a vehicle model handling: setModelHandling Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now