STATSTRACKER_IS_INITIALIZED
Based on its name and signature, here is our best reading:
Returns true if the stats tracker identified by p0 has been initialized.
Signature
BOOL STATSTRACKER_IS_INITIALIZED(Hash p0); // 0x01F4D242765C6B24 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash |
Facts
| Name | STATSTRACKER_IS_INITIALIZED |
|---|---|
| Hash | 0x01F4D242765C6B24 |
| 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(0x01F4D242765C6B24, -- STATSTRACKER_IS_INITIALIZED
GetHashKey("name") -- Hash p0
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x01F4D242765C6B24", // STATSTRACKER_IS_INITIALIZED
GetHashKey("name"), // Hash p0
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x01F4D242765C6B24, // STATSTRACKER_IS_INITIALIZED
(uint)API.GetHashKey("name") // Hash p0
);Related STATS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.