VehicleHornToggle
Event triggered when a vehicle's horn is toggled
Server-Side Event
JavaScript |
---|
JavaScript Syntax
Parameters
- vehicle: Vehicle
- toggle: Boolean
Example
mp.events.add("vehicleHornToggle", (vehicle, toggle) => {
// Do what you want.
});