zMpyster Posted February 18, 2019 Share Posted February 18, 2019 Oi gente já procurei de tudo no mta wiki más ainda continuo na dúvida se existe alguma forma de ligar um trem ao vagão sem ser pelo attachElements, se alguém souber me fale pf. Link to comment
#DaNiLiN Posted February 18, 2019 Share Posted February 18, 2019 Use Essa linha attachTrailerToVehicle ( "Trem", Vagão ) 1 1 Link to comment
Other Languages Moderators Lord Henry Posted February 18, 2019 Other Languages Moderators Share Posted February 18, 2019 (edited) WOW, acabei de testar aqui e funciona mesmo! Pensei que só funcionava com caminhões, tratores e guinchos. Teste maroto: theBox = createVehicle (590, -1980, -559, 26) theTrain = createVehicle (537, -1980, -575, 26) -- Encoste a traseira do seu trem na frente do vagão e use o comando /grudar addCommandHandler ("grudar", function () attachTrailerToVehicle (theTrain, theBox) end) Por essa eu não esperava... Vivendo e aprendendo. Edited February 18, 2019 by Lord Henry 1 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