{"hash":"0x6E2AA80BB0C03728","ns":"OBJECT","name":"_DOOR_SYSTEM_CHECK_ACTION_FLAG","slug":"_DOOR_SYSTEM_CHECK_ACTION_FLAG","official":false,"named":true,"luaName":"DoorSystemCheckActionFlag","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"doorHash","type":"Hash"},{"name":"flag","type":"int"}],"summary":"Checks whether a specific door action/state flag is active for the given door hash.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks whether a specific door action/state flag is active for the given door hash.\nDoor-system-hash equivalent of _CHECK_DOOR_ACTION_FLAG.\n\nObserved flags:\n- 32: true while the door is being kicked\n- 23: true after the door has been opened by kicking\n- 8: true when trying to open a locked door"},{"source":"vorp","format":"text","body":"Checks whether a specific door action/state flag is active for the given door hash.\n- flag 32: returns true while the door is being kicked\n- flag 23: returns true after the door has been opened by kicking\n- flag 8:  returns true when trying to open a locked door"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_DOOR_SYSTEM_CHECK_ACTION_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_DOOR_SYSTEM_CHECK_ACTION_FLAG.md","snippets":{"lua":"local retval = DoorSystemCheckActionFlag(doorHash, flag)","luaInvoke":"local retval = Citizen.InvokeNative(0x6E2AA80BB0C03728, doorHash, flag, Citizen.ReturnResultAnyway())","js":"const retval = DoorSystemCheckActionFlag(doorHash, flag);","jsInvoke":"const retval = Citizen.invokeNative('0x6E2AA80BB0C03728', doorHash, flag, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x6E2AA80BB0C03728, doorHash, flag);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}