Log In
Sign Up
Game code

STATS::STAT_ID_SET_BOOL

0xCD98285EC4AEF8CA ·RVA 0x04463FA0

Signature

BOOL STAT_ID_SET_BOOL(Any* statId, BOOL value);

Parameters 2

#TypeNameNotes
0Any*statId –
1BOOLvalue –

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_BOOL
auto result = invoke<BOOL>(0xCD98285EC4AEF8CA, &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.