Vehicle::isSeatFree

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

vehicle.isSeatFree(seatIndex);

Required Arguments

  • seatIndex: int

Return value

  • Boolean

Example

// todo

See also