Skip to content

VehicleHornStartedPayload

What vehicleHornStarted gets: the payload a handler receives.

Renamed in 0.28 from VehicleHornPayload; see renamed names.

type VehicleHornStartedPayload = { vehicleId: number; player: PlayerSnapshot | null; position: Vector3 };
Field Type Description
vehicleId number The vehicle.
player PlayerSnapshot | null The player driving it, or null for an NPC.
position Vector3 Where it was.