The Lab
STATS native

_STATSTRACKER_DEED_STATUS

returns void4 paramsbuild 1207

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

Reports the status of a deed (deedType, deedHash) to the stats tracker along with missionStatus and extra data.

Signature

C
void _STATSTRACKER_DEED_STATUS(int deedType, Hash deedHash, int missionStatus, Any* data); // 0xD5910ECF81A2278C b1207

Parameters

#NameType
1deedTypeint
2deedHashHash
3missionStatusint
4dataAny* (out pointer)

Facts

Facts about _STATSTRACKER_DEED_STATUS
Name
_STATSTRACKER_DEED_STATUS
Hash
0xD5910ECF81A2278C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local data = Citizen.InvokeNative(0xD5910ECF81A2278C, -- _STATSTRACKER_DEED_STATUS
  0, -- int deedType
  GetHashKey("name"), -- Hash deedHash
  0, -- int missionStatus
  Citizen.PointerValueInt() -- Any* data
)
print(data)
JavaScript
const data = Citizen.invokeNative("0xD5910ECF81A2278C", // _STATSTRACKER_DEED_STATUS
  0, // int deedType
  GetHashKey("name"), // Hash deedHash
  0, // int missionStatus
  Citizen.pointerValueInt() // Any* data
);
console.log(data)
C#
var dataArg = new OutputArgument();
Function.Call((Hash)0xD5910ECF81A2278C, // _STATSTRACKER_DEED_STATUS
  0, // int deedType
  (uint)API.GetHashKey("name"), // Hash deedHash
  0, // int missionStatus
  dataArg // Any* data
);
int data = dataArg.GetResult<int>();
All STATS natives

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