The Lab
STATS native

STATSTRACKER_IS_INITIALIZED

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Returns true if the stats tracker identified by p0 has been initialized.

Signature

C
BOOL STATSTRACKER_IS_INITIALIZED(Hash p0); // 0x01F4D242765C6B24 b1207

Parameters

#NameType
1p0Hash

Facts

Facts about STATSTRACKER_IS_INITIALIZED
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.

Lua
local result = Citizen.InvokeNative(0x01F4D242765C6B24, -- STATSTRACKER_IS_INITIALIZED
  GetHashKey("name") -- Hash p0
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x01F4D242765C6B24", // STATSTRACKER_IS_INITIALIZED
  GetHashKey("name"), // Hash p0
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x01F4D242765C6B24, // STATSTRACKER_IS_INITIALIZED
  (uint)API.GetHashKey("name") // Hash p0
);
All STATS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.