TrailerAttached
Event triggered when a vehicle's trailer is attached.
WARNING : If this event is not working, please use trailerAttached instead of vehicleTrailerAttach. If this resolves your problem, please inform someone on the discord to update this page.
Parameters
- vehicle
- trailer
Example
mp.events.add("vehicleTrailerAttach", (vehicle, trailer) => {
// Do what you want.
});