Difference between revisions of "0431"
Jump to navigation
Jump to search
(New page: {{OpCode | ini = 0431=2, %1d% %2d% | description = Checks if the passenger seat of the vehicle is free | p1 = Vehicle handle | p2 = Flag | game = GTA3, Vi...) |
|||
| Line 7: | Line 7: | ||
| native = [[IS_CAR_PASSENGER_SEAT_FREE]] | | native = [[IS_CAR_PASSENGER_SEAT_FREE]] | ||
}} | }} | ||
| − | + | This opcode returns true if the vehicle's specific seat is free. It returns false if it's not free or if the passenger seat number is invalid. | |
| − | + | {| {{prettytable}} | |
| − | 0 | + | ! Flag |
| − | 1 | + | ! Four-seat |
| − | 2 | + | ! Two-seat |
| + | |- | ||
| + | | 0 || front right seat || rear seat | ||
| + | |- | ||
| + | | 1 || rear left seat || | ||
| + | |- | ||
| + | | 2 || rear right seat || | ||
| + | |} | ||
==Keywords== | ==Keywords== | ||
check, car, vehicle, passenger, seat, free, empty | check, car, vehicle, passenger, seat, free, empty | ||
Revision as of 02:33, 1 May 2010
{{{games}}}
- Description
- Checks if the passenger seat of the vehicle is free
- Syntax
- {{{syntax1}}}
- Parameter
- Native analog
- IS_CAR_PASSENGER_SEAT_FREE
This opcode returns true if the vehicle's specific seat is free. It returns false if it's not free or if the passenger seat number is invalid.
| Flag | 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