Tow hitch?

I was wondering how do i add a Tow hitch for a car? So i can attach trailers etc?

moved to: #development:scripts

the model itself needs a hitch on it , and then you go to vehicles.meta go under flags and you need to add a flag to allow it to tow trailers

@GanjaMonster What should the flag say? Please give me an example.

i usually add " FLAG_ATTACH_TRAILER_ON_HIGHWAY FLAG_ATTACH_TRAILER_IN_CITY" and then lower in the meta there’s a trailer section

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

you add said trailers there

Thanks. So Do I enter the resource name or the name I use to spawn the trailer?

You would enter the name that you spawn in the trailer with.

Thank you sir