TrailerAttached: Difference between revisions
m (Mcfloy moved page VehicleTrailerAttach to TrailerAttached) |
m (category) |
||
| Line 11: | Line 11: | ||
}); | }); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Server-side Event]] | |||
Revision as of 13:11, 15 May 2019
Event triggered when a vehicle's trailer is attached.
Parameters
- vehicle
- trailer
Example
mp.events.add("trailerAttached", (vehicle, trailer) => {
// Do what you want.
});