0431
Jump to navigation
Jump to search
- Description
- Checks if the passenger seat of the vehicle is free
- Syntax
- 0431: car [car handle] car_passenger_seat_free [int]
- Parameter
- [car handle]
- The handle of the vehicle
- [int]
- Seat number
- Native analog
- IS_CAR_PASSENGER_SEAT_FREE
This conditional opcode returns true when the vehicle's passenger seat is free. It returns false when it is not free or when the seat number is invalid.
Seat | Four-seat | Two-seat |
---|---|---|
0 | front right seat | rear seat |
1 | rear left seat | |
2 | rear right seat |
Keywords
check, car, vehicle, passenger, seat, free, empty