VEHICLE

IS_ENTRY_POINT_FOR_SEAT_CLEAR

0x639431E895B9AA57 Jenkins: 0xAB0E79EB

Signature

// VEHICLE
BOOL IS_ENTRY_POINT_FOR_SEAT_CLEAR(Ped ped, Vehicle vehicle, int seatIndex, BOOL side, BOOL onEnter)

Parameters

Type Name
Ped ped
Vehicle vehicle
int seatIndex
BOOL side
BOOL onEnter

Return type BOOL

Build 323

Former names

  • _IS_VEHICLE_SEAT_ACCESSIBLE

Documentation

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). seatIndex = -1 being the driver seat. Use GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS(vehicle) - 1 for last seat index. 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.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.