Game code
STATS::STAT_ID_SET_FLOAT
0xEF3A1097B7E42095 ·RVA 0x04464000
Signature
BOOL STAT_ID_SET_FLOAT(Any* statId, float value);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Any* | statId |
– |
| 1 | float | 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.
Call it
// STATS::STAT_ID_SET_FLOAT
auto result = invoke<BOOL>(0xEF3A1097B7E42095, &statId, value);// STATS::STAT_ID_SET_FLOAT
bool result = Function.Call<bool>((Hash)0xEF3A1097B7E42095, statId, value);-- STATS::STAT_ID_SET_FLOAT
local result = Citizen.InvokeNative(0xEF3A1097B7E42095, statId, value)// STATS::STAT_ID_SET_FLOAT
const result = Citizen.invokeNative("0xEF3A1097B7E42095", 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.