OnVehicleTrailerChange

From GTA Network Wiki
Jump to: navigation, search

OnVehicleTrailerChange
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This event is triggered when a vehicle trailer change.

Attribute

[ServerEvent(Event.VehicleTrailerChange)]

Required Parameters

  • Vehicle: the vehicle.
  • Vehicle: the trailer.

Usage example(s)

[ServerEvent(Event.VehicleTrailerChange)]
public void OnVehicleTrailerChange(Vehicle vehicle, Vehicle trailer)
{
    // Some code
}

Changelog

Version Description
1.0 Release.

References