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