UNLOCK_IS_VISIBLE
Returns true if the unlock identified by unlockHash is marked as visible, for example in shop or catalog listings.
Signature
BOOL UNLOCK_IS_VISIBLE(Hash unlockHash); // 0x8588A14B75AF096B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | unlockHash | Hash |
Facts
| Name | UNLOCK_IS_VISIBLE |
|---|---|
| Hash | 0x8588A14B75AF096B |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x8588A14B75AF096B, -- UNLOCK_IS_VISIBLE
GetHashKey("name") -- Hash unlockHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x8588A14B75AF096B", // UNLOCK_IS_VISIBLE
GetHashKey("name"), // Hash unlockHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x8588A14B75AF096B, // UNLOCK_IS_VISIBLE
(uint)API.GetHashKey("name") // Hash unlockHash
);Related UNLOCK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.