The Lab
STATS native

_STAT_DONATE_INCREMENT_ITEM

returns void4 paramsbuild 1207

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

Records a donation of an inventory item for stat tracking. The extra parameters are not documented.

Signature

C
void _STAT_DONATE_INCREMENT_ITEM(int item, int slot, Any p2, Any p3); // 0x7C2ABF6E556B21FC b1207

Parameters

#NameType
1itemint
2slotint
3p2Any
4p3Any

Facts

Facts about _STAT_DONATE_INCREMENT_ITEM
Name
_STAT_DONATE_INCREMENT_ITEM
Hash
0x7C2ABF6E556B21FC
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x7C2ABF6E556B21FC, -- _STAT_DONATE_INCREMENT_ITEM
  0, -- int item
  0, -- int slot
  0, -- Any p2
  0 -- Any p3
)
JavaScript
Citizen.invokeNative("0x7C2ABF6E556B21FC", // _STAT_DONATE_INCREMENT_ITEM
  0, // int item
  0, // int slot
  0, // Any p2
  0 // Any p3
);
C#
Function.Call((Hash)0x7C2ABF6E556B21FC, // _STAT_DONATE_INCREMENT_ITEM
  0, // int item
  0, // int slot
  0, // Any p2
  0 // Any p3
);
All STATS natives

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