| Property | Value |
|---|---|
| Native Name | _CHECK_DOOR_ACTION_FLAG |
| Hash | 0x0943113E02322164 |
| Return Type | Any |
| Build | 1207 |
| Parameters | object (Object), p1 (int) |
Description: Checks whether a specific door-related action/state flag is active for the given door object. Observed behavior:
- flag 32: returns true when the door is being kicked (kick action event)
- flag 23: returns true if the door has been previously opened by kicking (post-kick state)
- flag 8: returns true when attempting to open the door while it is locked
Usage
Lua (Direct):
local result = CheckDoorActionFlag(object, p1)
Lua (Hash):
local result = Citizen.InvokeNative(0x0943113E02322164, object, p1)