VehicleHornStartedPayload
What vehicleHornStarted gets: the payload a handler receives.
Renamed in 0.28 from VehicleHornPayload; see renamed names.
Definition
Section titled “Definition”type VehicleHornStartedPayload = { vehicleId: number; player: PlayerSnapshot | null; position: Vector3 };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
vehicleId |
number |
The vehicle. |
player |
PlayerSnapshot | null |
The player driving it, or null for an NPC. |
position |
Vector3 |
Where it was. |
Related
Section titled “Related”vehicleHornStarted: the event