RedM Natives

UNLOCK_SET_VISIBLE

Hash0x46B901A8ECDB5A61
Runtime nameUnlockSetVisible
NamespaceUNLOCK
SideClient
NameOfficial
Docs
Since build1207

Signature

void UNLOCK_SET_VISIBLE(Hash unlockHash, BOOL toggle);

Parameters

NameTypeDescription
unlockHashHash—
toggleBOOL—

Returns void

Usage

Lua
UnlockSetVisible(unlockHash, toggle)

-- always works, by hash
Citizen.InvokeNative(0x46B901A8ECDB5A61, unlockHash, toggle)
JavaScript and C#
JavaScript
UnlockSetVisible(unlockHash, toggle);

// by hash
Citizen.invokeNative('0x46B901A8ECDB5A61', unlockHash, toggle);
C#
Function.Call((Hash)0x46B901A8ECDB5A61, unlockHash, toggle);
  • 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`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.