{"hash":"0x1B7C5ADA8A6910A0","ns":"UNLOCK","name":"UNLOCK_SET_UNLOCKED","slug":"UNLOCK_SET_UNLOCKED","official":true,"named":true,"luaName":"UnlockSetUnlocked","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_UNLOCKED","markdownUrl":"https://natives.borderlinerp.com/natives/UNLOCK/UNLOCK_SET_UNLOCKED.md","snippets":{"lua":"UnlockSetUnlocked(unlockHash, toggle)","luaInvoke":"Citizen.InvokeNative(0x1B7C5ADA8A6910A0, unlockHash, toggle)","js":"UnlockSetUnlocked(unlockHash, toggle);","jsInvoke":"Citizen.invokeNative('0x1B7C5ADA8A6910A0', unlockHash, toggle);","csharp":"Function.Call((Hash)0x1B7C5ADA8A6910A0, 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` ``."]}}