_UNLOCK_SET_NEW
Sets or clears the "new" marker on the unlock identified by unlockHash according to toggle.
Signature
void _UNLOCK_SET_NEW(Hash unlockHash, BOOL toggle); // 0xA6D79C7AEF870A99 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | unlockHash | Hash |
| 2 | toggle | BOOL |
Facts
| Name | _UNLOCK_SET_NEW |
|---|---|
| Hash | 0xA6D79C7AEF870A99 |
| 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(0xA6D79C7AEF870A99, -- _UNLOCK_SET_NEW
GetHashKey("name"), -- Hash unlockHash
false -- BOOL toggle
)Citizen.invokeNative("0xA6D79C7AEF870A99", // _UNLOCK_SET_NEW
GetHashKey("name"), // Hash unlockHash
false // BOOL toggle
);Function.Call((Hash)0xA6D79C7AEF870A99, // _UNLOCK_SET_NEW
(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.