IS_PED_OPENING_DOOR
Returns true if the ped is currently opening a door (CTaskOpenDoor).
Hash
0x26AF0E8E30BD2A2CRuntime name
IsPedOpeningDoorNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x26AF0E8E30BD2A2CSignature
BOOL IS_PED_OPENING_DOOR(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Returns true if the ped is currently opening a door (CTaskOpenDoor).
Old name: _IS_PED_OPENING_A_DOOR
Usage
local retval = IsPedOpeningDoor(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x26AF0E8E30BD2A2C, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedOpeningDoor(ped);
// by hash
const retval = Citizen.invokeNative('0x26AF0E8E30BD2A2C', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x26AF0E8E30BD2A2C, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.