VehicleSirenChangeRequestPayload
What vehicleSirenChangeRequest gets: the payload a handler receives.
Renamed in 0.28 from VehicleSirenChangePayload; see renamed names.
Definition
Section titled “Definition”type VehicleSirenChangeRequestPayload = { player: PlayerInVehicle; fromActive: boolean; toActive: boolean;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerInVehicle |
The driver asking; vehicleId is the vehicle and seat is always 0. |
fromActive |
boolean |
The siren now. |
toActive |
boolean |
What they want. |
Related
Section titled “Related”vehicleSirenChangeRequest: the decision