IsVehicleSeatAccessible — FiveM Natives
0x639431E895B9AA57 · VEHICLE · all
`` Check if a vehicle seat is accessible. If you park your vehicle near a wall and the ped cannot enter/exit this side, the return value toggles from true (not blocked) to false (blocked). side = only relevant for bikes/motorcycles to check if the left (false)/right (true) side is blocked. onEnter = check if you can enter (true) or exit (false) a vehicle. ``
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | |
| vehicle | Vehicle | The vehicle to check. |
| seatIndex | int | See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669). |
| side | BOOL | |
| onEnter | BOOL |
Returns
BOOL