16.01.2017, 18:34
When I create train, it automatically creates 3 trailers(wagons), and automatically attach them to the train.
Problem is when i destroy train, trailers aren't destroyed.
When i try GetVehicleTrailer to the train, it sends 0.
Is there any check to get attached trailer ID or how to simple destroy that trailers when destroy train ?
Problem is when i destroy train, trailers aren't destroyed.
When i try GetVehicleTrailer to the train, it sends 0.
Is there any check to get attached trailer ID or how to simple destroy that trailers when destroy train ?