The Lab
VEHICLE native

IS_ENTRY_POINT_FOR_SEAT_CLEAR

returns BOOL5 paramsbuild 1207

Returns true if the entry point for seat seatIndex of vehicle is clear for ped.

Signature

C
BOOL IS_ENTRY_POINT_FOR_SEAT_CLEAR(Ped ped, Vehicle vehicle, int seatIndex, BOOL side, BOOL onEnter); // 0x80DDCCB2F4A3EB57 b1207

Parameters

#NameType
1pedPed
2vehicleVehicle
3seatIndexint
4sideBOOL
5onEnterBOOL

Facts

Facts about IS_ENTRY_POINT_FOR_SEAT_CLEAR
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.

Lua
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
  -- ...
end
JavaScript
const 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) {
  // ...
}
C#
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
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.