0431

From GTAMods Wiki
Revision as of 08:28, 16 January 2016 by Spaceeinstein (talk | contribs) (page updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas IS_CAR_PASSENGER_SEAT_FREE


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