Game code
STATS::STAT_ID_SET_INT
0x6A19A1115B220A20 ·RVA 0x044640B0
Signature
BOOL STAT_ID_SET_INT(Any* statId, int value);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Any* | statId |
– |
| 1 | int | value |
– |
Returns
BOOL
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p2, in RDR3's signature, is not passed in GTA VI.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// STATS::STAT_ID_SET_INT
auto result = invoke<BOOL>(0x6A19A1115B220A20, &statId, value);// STATS::STAT_ID_SET_INT
bool result = Function.Call<bool>((Hash)0x6A19A1115B220A20, statId, value);-- STATS::STAT_ID_SET_INT
local result = Citizen.InvokeNative(0x6A19A1115B220A20, statId, value)// STATS::STAT_ID_SET_INT
const result = Citizen.invokeNative("0x6A19A1115B220A20", statId, value);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.