UNLOCK_SET_VISIBLE
Hash
0x46B901A8ECDB5A61Runtime name
UnlockSetVisibleNamespaceUNLOCK
SideClient
NameOfficial
Docs
Since build1207
Signature
void UNLOCK_SET_VISIBLE(Hash unlockHash, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
unlockHash | Hash | — |
toggle | BOOL | — |
Returns void
Usage
UnlockSetVisible(unlockHash, toggle)
-- always works, by hash
Citizen.InvokeNative(0x46B901A8ECDB5A61, unlockHash, toggle)JavaScript and C#
UnlockSetVisible(unlockHash, toggle);
// by hash
Citizen.invokeNative('0x46B901A8ECDB5A61', unlockHash, toggle);Function.Call((Hash)0x46B901A8ECDB5A61, 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.