{"hash":"0xD99229FE93B46286","ns":"OBJECT","name":"_ADD_DOOR_TO_SYSTEM_NEW","slug":"_ADD_DOOR_TO_SYSTEM_NEW","official":false,"named":true,"luaName":"AddDoorToSystemNew","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"doorHash","type":"Hash"},{"name":"p1","type":"BOOL"},{"name":"p2","type":"BOOL"},{"name":"p3","type":"BOOL"},{"name":"threadId","type":"int"},{"name":"p5","type":"int"},{"name":"p6","type":"BOOL"}],"summary":"Registers a door, hashes:","descriptions":[{"source":"alloc8or","format":"text","body":"Registers a door, hashes: https://github.com/femga/rdr3_discoveries/tree/master/doorHashes"},{"source":"femga","format":"pre","body":"0xD99229FE93B46286    (by Hackuou)\nCitizen.InvokeNative(0xD99229FE93B46286, hash, 1, 0, 0, 0, 0, 0)\nSomeone uses that and it works to register the door\nWhereas I use\nCitizen.InvokeNative(0xD99229FE93B46286, hash, 1, 0, 0, 0, 0, 0)\nAnd it does the same thing from what I can tell\nStill registers it anyways"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","femga"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_ADD_DOOR_TO_SYSTEM_NEW","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_ADD_DOOR_TO_SYSTEM_NEW.md","snippets":{"lua":"AddDoorToSystemNew(doorHash, p1, p2, p3, threadId, p5, p6)","luaInvoke":"Citizen.InvokeNative(0xD99229FE93B46286, doorHash, p1, p2, p3, threadId, p5, p6)","js":"AddDoorToSystemNew(doorHash, p1, p2, p3, threadId, p5, p6);","jsInvoke":"Citizen.invokeNative('0xD99229FE93B46286', doorHash, p1, p2, p3, threadId, p5, p6);","csharp":"Function.Call((Hash)0xD99229FE93B46286, doorHash, p1, p2, p3, threadId, p5, p6);","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."]}}