| Property | Value |
|---|---|
| Native Name | _DOOR_SYSTEM_CHECK_ACTION_FLAG |
| Hash | 0x6E2AA80BB0C03728 |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | doorHash (Hash), flag (int) |
Description: Checks whether a specific door action/state flag is active for the given door hash.
- flag 32: returns true while the door is being kicked
- flag 23: returns true after the door has been opened by kicking
- flag 8: returns true when trying to open a locked door
Usage
Lua (Direct):
local result = DoorSystemCheckActionFlag(doorHash, flag)
Lua (Hash):
local result = Citizen.InvokeNative(0x6E2AA80BB0C03728, doorHash, flag)