How to make a addon trailer attach to for example: bobcatxl?

help

#1

Hi!

I am trying to get this addon working: https://www.gta5-mods.com/vehicles/car-trailer-2016-add-om
I can spawn the trailer and all and when I back up with for example a bobcatxl the camera zooms out but the trailer wont attach.
Here is my resource folder: https://my.mixtape.moe/fatozo.zip
Any help would be much appriciated!


#2

Have a look at existing resources like this one to see how to attach a car to another car
[Release][FX] Towtruck Script V1.2


#3

In the vehicles meta you should see something like this on truck metas

<trailers>
        <Item>boattrailer</Item>
        <Item>trailersmall</Item>
      </trailers>

you can just add another line(s) of the trailer you want it to attach to. so it’d look something like this

<trailers>
        <Item>boattrailer</Item>
        <Item>trailersmall</Item>
        <Item>cartrailer</Item>
      </trailers>

#4

Yes I saw that too, the problem is that I tried to add the second vehicles.meta that contains the trailers data.
But when I tried to join the server I crashed, any ideas?


#5

it was most likely an error in the vehicles.meta