{"hash":"0xB6E6FBA95C7324AC","ns":"OBJECT","name":"DOOR_SYSTEM_SET_OPEN_RATIO","slug":"DOOR_SYSTEM_SET_OPEN_RATIO","official":true,"named":true,"luaName":"DoorSystemSetOpenRatio","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"doorHash","type":"Hash"},{"name":"ajar","type":"float"},{"name":"forceUpdate","type":"BOOL"}],"summary":"Sets the ajar angle of a door.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the ajar angle of a door.\nRanges from -1.0 to 1.0, and 0.0 is closed / default."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xB6E6FBA95C7324AC","gtaJhash":"0x34883DE3","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_SET_OPEN_RATIO","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/DOOR_SYSTEM_SET_OPEN_RATIO.md","snippets":{"lua":"DoorSystemSetOpenRatio(doorHash, ajar, forceUpdate)","luaInvoke":"Citizen.InvokeNative(0xB6E6FBA95C7324AC, doorHash, ajar, forceUpdate)","js":"DoorSystemSetOpenRatio(doorHash, ajar, forceUpdate);","jsInvoke":"Citizen.invokeNative('0xB6E6FBA95C7324AC', doorHash, ajar + 0.0000001, forceUpdate);","csharp":"Function.Call((Hash)0xB6E6FBA95C7324AC, doorHash, ajar, forceUpdate);","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` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}