Pulling a trailer

Ok this is just not working at all for me. In my server I have a vehicle. I have gone into the vehicles.meta and added:

CTRAILER,

It spawn in the vehicle and the trailer (spawn name is CTRAILER). Now Im stuck. How to I actually attach it?

You’ll need to code something in.

Yeah the issue was me. I was not using a truck with a hitch. Works fine when I do. Now I just need to figure how to get it to stay on the trailer when I move it.

esx_jb_trailer ,Maybe it will help you