{"hash":"0x6BAB9442830C7F53","ns":"OBJECT","name":"DOOR_SYSTEM_SET_DOOR_STATE","slug":"DOOR_SYSTEM_SET_DOOR_STATE","official":true,"named":true,"luaName":"DoorSystemSetDoorState","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"doorHash","type":"Hash"},{"name":"state","type":"int"}],"summary":"Door lock states: DOORSTATE_UNLOCKED, DOORSTATE_LOCKED_UNBREAKABLE, DOORSTATE_LOCKED_BREAKABLE, DOORSTATE_HOLD_OPEN_POSITIVE, DOORSTATE_HOLD_OPEN_NEGATIVE","descriptions":[{"source":"alloc8or","format":"text","body":"Door lock states:\nenum eDoorState\n{\n\tDOORSTATE_INVALID = -1,\n\tDOORSTATE_UNLOCKED,\n\tDOORSTATE_LOCKED_UNBREAKABLE,\n\tDOORSTATE_LOCKED_BREAKABLE,\n\tDOORSTATE_HOLD_OPEN_POSITIVE,\n\tDOORSTATE_HOLD_OPEN_NEGATIVE\n};"}],"examples":[],"aliases":[],"enums":["DoorScriptState"],"related":[],"build":"1207","gtaHash":"0x6BAB9442830C7F53","gtaJhash":"0xDF83DB47","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_SET_DOOR_STATE","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_SET_DOOR_STATE.md","snippets":{"lua":"DoorSystemSetDoorState(doorHash, state)","luaInvoke":"Citizen.InvokeNative(0x6BAB9442830C7F53, doorHash, state)","js":"DoorSystemSetDoorState(doorHash, state);","jsInvoke":"Citizen.invokeNative('0x6BAB9442830C7F53', doorHash, state);","csharp":"Function.Call((Hash)0x6BAB9442830C7F53, doorHash, state);","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` ``."]}}