Captain Cody Posted August 2, 2014 Share Posted August 2, 2014 How would I make it so i can attach train carts to a train example while standing next to the couplings by command it attaches them? Link to comment
Captain Cody Posted August 2, 2014 Author Share Posted August 2, 2014 What im mean is In game you can walk to the back of a train thats backed up to a cart and attach it Link to comment
Mr_Moose Posted August 8, 2014 Share Posted August 8, 2014 You could compare the distance between all train vehicles once they are moving and attach them (MTA 1.4) with attachTrailerToVehicle when they are in a proper distance. And detach them with a command for instance using detachTrailerFromVehicle All code you need is in here. Good luck. 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