_UNLOCK_SET_NEW
Hash
0xA6D79C7AEF870A99Runtime name
UnlockSetNewNamespaceUNLOCK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UNLOCK_SET_NEW(Hash unlockHash, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
unlockHash | Hash | — |
toggle | BOOL | — |
Returns void
Usage
UnlockSetNew(unlockHash, toggle)
-- always works, by hash
Citizen.InvokeNative(0xA6D79C7AEF870A99, unlockHash, toggle)JavaScript and C#
UnlockSetNew(unlockHash, toggle);
// by hash
Citizen.invokeNative('0xA6D79C7AEF870A99', unlockHash, toggle);Function.Call((Hash)0xA6D79C7AEF870A99, unlockHash, toggle);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.