Skip to main content

Vehicle::isSeatFree

Check if a vehicle seat is free. -1 being the driver seat. Use GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS(vehicle) - 1 for last seat index.

Syntax​

```js vehicle.isSeatFree(seatIndex); ```

Required Arguments​

  • seatIndex: int

Return value​

  • Boolean

Example​

```js // todo ```

See also​