UNLOCK_SET_VISIBLE
Shows or hides the unlock identified by unlockHash depending on toggle.
Signature
void UNLOCK_SET_VISIBLE(Hash unlockHash, BOOL toggle); // 0x46B901A8ECDB5A61 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | unlockHash | Hash |
| 2 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x46B901A8ECDB5A61, -- UNLOCK_SET_VISIBLE
GetHashKey("name"), -- Hash unlockHash
false -- BOOL toggle
)Citizen.invokeNative("0x46B901A8ECDB5A61", // UNLOCK_SET_VISIBLE
GetHashKey("name"), // Hash unlockHash
false // BOOL toggle
);Function.Call((Hash)0x46B901A8ECDB5A61, // UNLOCK_SET_VISIBLE
(uint)API.GetHashKey("name"), // Hash unlockHash
false // BOOL toggle
);Related UNLOCK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.