IS_ENTRY_POINT_FOR_SEAT_CLEAR
Returns true if the entry point for seat seatIndex of vehicle is clear for ped.
Signature
BOOL IS_ENTRY_POINT_FOR_SEAT_CLEAR(Ped ped, Vehicle vehicle, int seatIndex, BOOL side, BOOL onEnter); // 0x80DDCCB2F4A3EB57 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | vehicle | Vehicle |
| 3 | seatIndex | int |
| 4 | side | BOOL |
| 5 | onEnter | BOOL |
Facts
| Name | IS_ENTRY_POINT_FOR_SEAT_CLEAR |
|---|---|
| Hash | 0x80DDCCB2F4A3EB57 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x80DDCCB2F4A3EB57, -- IS_ENTRY_POINT_FOR_SEAT_CLEAR
PlayerPedId(), -- Ped ped
0, -- Vehicle vehicle
0, -- int seatIndex
false, -- BOOL side
false -- BOOL onEnter
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x80DDCCB2F4A3EB57", // IS_ENTRY_POINT_FOR_SEAT_CLEAR
PlayerPedId(), // Ped ped
0, // Vehicle vehicle
0, // int seatIndex
false, // BOOL side
false, // BOOL onEnter
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x80DDCCB2F4A3EB57, // IS_ENTRY_POINT_FOR_SEAT_CLEAR
API.PlayerPedId(), // Ped ped
0, // Vehicle vehicle
0, // int seatIndex
false, // BOOL side
false // BOOL onEnter
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.