TrailerAttached

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Event triggered when a vehicle's trailer is attached.

Server-Side
Event

Js.png JavaScript




C# Syntax
C.png


JavaScript Syntax
Jslogo.png

Parameters

  • vehicle: Vehicle
  • trailer: Vehicle

Example

mp.events.add("trailerAttached", (vehicle, trailer) => {
 // Do what you want.
});