IS_PED_ENTERING_ANY_TRANSPORT
Hash
0x1D46B417F926D34DRuntime name
IsPedEnteringAnyTransportNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_PED_ENTERING_ANY_TRANSPORT(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = IsPedEnteringAnyTransport(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1D46B417F926D34D, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedEnteringAnyTransport(ped);
// by hash
const retval = Citizen.invokeNative('0x1D46B417F926D34D', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1D46B417F926D34D, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.