Skip to content

VehicleSirenChangeRequestPayload

What vehicleSirenChangeRequest gets: the payload a handler receives.

Renamed in 0.28 from VehicleSirenChangePayload; see renamed names.

type VehicleSirenChangeRequestPayload = {
player: PlayerInVehicle; fromActive: boolean; toActive: boolean;
};
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.