{"hash":"0x160AA1B32F6139B8","ns":"OBJECT","name":"DOOR_SYSTEM_GET_DOOR_STATE","slug":"DOOR_SYSTEM_GET_DOOR_STATE","official":true,"named":true,"luaName":"DoorSystemGetDoorState","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"doorHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["DoorScriptState"],"related":[],"build":"1207","gtaHash":"0x160AA1B32F6139B8","gtaJhash":"0xD42A41C2","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_GET_DOOR_STATE","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_GET_DOOR_STATE.md","snippets":{"lua":"local retval = DoorSystemGetDoorState(doorHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x160AA1B32F6139B8, doorHash, Citizen.ResultAsInteger())","js":"const retval = DoorSystemGetDoorState(doorHash);","jsInvoke":"const retval = Citizen.invokeNative('0x160AA1B32F6139B8', doorHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x160AA1B32F6139B8, doorHash);","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` ``."]}}