The Lab
UNLOCK native

UNLOCK_SET_VISIBLE

returns void2 paramsbuild 1207

Shows or hides the unlock identified by unlockHash depending on toggle.

Signature

C
void UNLOCK_SET_VISIBLE(Hash unlockHash, BOOL toggle); // 0x46B901A8ECDB5A61 b1207

Parameters

#NameType
1unlockHashHash
2toggleBOOL

Facts

Facts about UNLOCK_SET_VISIBLE
Name
UNLOCK_SET_VISIBLE
Hash
0x46B901A8ECDB5A61
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x46B901A8ECDB5A61, -- UNLOCK_SET_VISIBLE
  GetHashKey("name"), -- Hash unlockHash
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x46B901A8ECDB5A61", // UNLOCK_SET_VISIBLE
  GetHashKey("name"), // Hash unlockHash
  false // BOOL toggle
);
C#
Function.Call((Hash)0x46B901A8ECDB5A61, // UNLOCK_SET_VISIBLE
  (uint)API.GetHashKey("name"), // Hash unlockHash
  false // BOOL toggle
);
All UNLOCK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.