VehicleSirenToggle

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Event triggered when a vehicle's siren is toggled

Server-Side
Event

C.png C# Js.png JavaScript




C# Syntax
C.png


JavaScript Syntax
Jslogo.png

Parameters

  • vehicle: Vehicle
  • toggle: Boolean

Example

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


See also