_UNLOCK_IS_UNLOCK_FLAG_SET
Based on its name and signature, here is our best reading:
Returns true if the given flag is set on the unlock identified by unlockHash.
Signature
BOOL _UNLOCK_IS_UNLOCK_FLAG_SET(Hash unlockHash, int flag); // 0x6B6369647F26F09F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | unlockHash | Hash |
| 2 | flag | int |
Facts
| Name | _UNLOCK_IS_UNLOCK_FLAG_SET |
|---|---|
| Hash | 0x6B6369647F26F09F |
| 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(0x6B6369647F26F09F, -- _UNLOCK_IS_UNLOCK_FLAG_SET
GetHashKey("name"), -- Hash unlockHash
0 -- int flag
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x6B6369647F26F09F", // _UNLOCK_IS_UNLOCK_FLAG_SET
GetHashKey("name"), // Hash unlockHash
0, // int flag
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x6B6369647F26F09F, // _UNLOCK_IS_UNLOCK_FLAG_SET
(uint)API.GetHashKey("name"), // Hash unlockHash
0 // int flag
);Related UNLOCK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.