OnVehicleSirenToggle

From GTA Network Wiki
Jump to: navigation, search

OnVehicleSirenToggle
Server-Side Function

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

This event is triggered when siren toggle.

Attribute

[ServerEvent(Event.VehicleSirenToggle)]

Required Parameters

  • Vehicle: the vehicle.
  • bool: old state of the siren.

Usage example(s)

[ServerEvent(Event.VehicleSirenToggle)]
public void OnVehicleSirenToggle(Vehicle vehicle, bool oldValue)
{
    // Some code
}

Changelog

Version Description
1.0 Release.

References