RedM Natives

IS_ENTRY_POINT_FOR_SEAT_CLEAR

Hash0x80DDCCB2F4A3EB57
Runtime nameIsEntryPointForSeatClear
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x639431E895B9AA57

Signature

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

Parameters

NameTypeDescription
pedPed—
vehicleVehicle—
seatIndexint—
sideBOOL—
onEnterBOOL—

Returns BOOL

Usage

Lua
local retval = IsEntryPointForSeatClear(ped, vehicle, seatIndex, side, onEnter)

-- always works, by hash
local retval = Citizen.InvokeNative(0x80DDCCB2F4A3EB57, ped, vehicle, seatIndex, side, onEnter, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntryPointForSeatClear(ped, vehicle, seatIndex, side, onEnter);

// by hash
const retval = Citizen.invokeNative('0x80DDCCB2F4A3EB57', ped, vehicle, seatIndex, side, onEnter, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x80DDCCB2F4A3EB57, ped, vehicle, seatIndex, side, onEnter);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.