RedM Natives

IS_PED_ENTERING_ANY_TRANSPORT

Hash0x1D46B417F926D34D
Runtime nameIsPedEnteringAnyTransport
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_PED_ENTERING_ANY_TRANSPORT(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsPedEnteringAnyTransport(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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