TrailerAttached

From RAGE Multiplayer Wiki
Revision as of 21:26, 19 January 2018 by Mcfloy (talk | contribs) (Created page with "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 you...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
});