VehicleOccupant
One player sitting in a vehicle.
Definition
Section titled “Definition”type VehicleOccupant = Readonly<{ playerId: number; seat: number }>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
playerId |
number |
The player’s ID. |
seat |
number |
The seat: 0 is the driver’s, 1 to 3 the passengers’. |