{"hash":"0x0943113E02322164","ns":"OBJECT","name":"_CHECK_DOOR_ACTION_FLAG","slug":"_CHECK_DOOR_ACTION_FLAG","official":false,"named":true,"luaName":"CheckDoorActionFlag","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"doorObject","type":"Object"},{"name":"flag","type":"int"}],"summary":"Checks whether a specific door-related action/state flag is active for the given door object.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks whether a specific door-related action/state flag is active for the given door object.\n\nObserved flags:\n- 32: true while the door is being kicked\n- 23: true if the door was previously opened by kicking\n- 8: true when attempting to open the door while it is locked"},{"source":"vorp","format":"text","body":"Checks whether a specific door-related action/state flag is active for the given door object.\nObserved behavior:\n- flag 32: returns true when the door is being kicked (kick action event)\n- flag 23: returns true if the door has been previously opened by kicking (post-kick state)\n- flag 8:  returns true when attempting to open the door while it is locked"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_CHECK_DOOR_ACTION_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_CHECK_DOOR_ACTION_FLAG.md","snippets":{"lua":"local retval = CheckDoorActionFlag(doorObject, flag)","luaInvoke":"local retval = Citizen.InvokeNative(0x0943113E02322164, doorObject, flag, Citizen.ReturnResultAnyway())","js":"const retval = CheckDoorActionFlag(doorObject, flag);","jsInvoke":"const retval = Citizen.invokeNative('0x0943113E02322164', doorObject, flag, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x0943113E02322164, doorObject, flag);","notes":["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."]}}