RedM Natives

IS_PED_EXITING_TRANSPORT

Hash0x660639BC60157048
Runtime nameIsPedExitingTransport
NamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_PED_EXITING_TRANSPORT(Ped ped, Entity transportEntity);

Parameters

NameTypeDescription
pedPed—
transportEntityEntity—

Returns BOOL

Usage

Lua
local retval = IsPedExitingTransport(ped, transportEntity)

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

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

Sources

alloc8or RDR3 NativeDB

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