_STAT_DONATE_INCREMENT_ITEM
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
void _STAT_DONATE_INCREMENT_ITEM(int item, int slot, Any p2, Any p3); // 0x7C2ABF6E556B21FC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | item | int |
| 2 | slot | int |
| 3 | p2 | Any |
| 4 | p3 | Any |
Facts
| 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.
Citizen.InvokeNative(0x7C2ABF6E556B21FC, -- _STAT_DONATE_INCREMENT_ITEM
0, -- int item
0, -- int slot
0, -- Any p2
0 -- Any p3
)Citizen.invokeNative("0x7C2ABF6E556B21FC", // _STAT_DONATE_INCREMENT_ITEM
0, // int item
0, // int slot
0, // Any p2
0 // Any p3
);Function.Call((Hash)0x7C2ABF6E556B21FC, // _STAT_DONATE_INCREMENT_ITEM
0, // int item
0, // int slot
0, // Any p2
0 // Any p3
);Related STATS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.