RedM Natives

IS_PED_ENTERING_TRANSPORT

Hash0x619E63980BFC0096
Runtime nameIsPedEnteringTransport
NamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_PED_ENTERING_TRANSPORT(Ped ped, Entity transportEntity, BOOL p2);

Parameters

NameTypeDescription
pedPed—
transportEntityEntity—
p2BOOL—

Returns BOOL

Usage

Lua
local retval = IsPedEnteringTransport(ped, transportEntity, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0x619E63980BFC0096, ped, transportEntity, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedEnteringTransport(ped, transportEntity, p2);

// by hash
const retval = Citizen.invokeNative('0x619E63980BFC0096', ped, transportEntity, p2, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x619E63980BFC0096, ped, transportEntity, p2);

Sources

alloc8or RDR3 NativeDB

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