{"hash":"0xA6D79C7AEF870A99","ns":"UNLOCK","name":"_UNLOCK_SET_NEW","slug":"_UNLOCK_SET_NEW","official":false,"named":true,"luaName":"UnlockSetNew","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"unlockHash","type":"Hash"},{"name":"toggle","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/UNLOCK/_UNLOCK_SET_NEW","markdownUrl":"https://natives.borderlinerp.com/natives/UNLOCK/_UNLOCK_SET_NEW.md","snippets":{"lua":"UnlockSetNew(unlockHash, toggle)","luaInvoke":"Citizen.InvokeNative(0xA6D79C7AEF870A99, unlockHash, toggle)","js":"UnlockSetNew(unlockHash, toggle);","jsInvoke":"Citizen.invokeNative('0xA6D79C7AEF870A99', unlockHash, toggle);","csharp":"Function.Call((Hash)0xA6D79C7AEF870A99, unlockHash, toggle);","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."]}}