Log In
Sign Up
Game code

MISC::SET_WEATHER_TYPE

0x01F6A4A5A6E8B0E5 ·RVA 0x03E920D0

Signature

void SET_WEATHER_TYPE(
    Hash weatherType,
    BOOL p1,
    BOOL p2,
    BOOL transition,
    float transitionTime,
    BOOL p5,
    BOOL p6
);

Parameters 7

#TypeNameNotes
0HashweatherType –
1BOOLp1 –
2BOOLp2 –
3BOOLtransition –
4floattransitionTime –
5BOOLp5 –
6BOOLp6 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p6 is not in RDR3's signature; the game reads it as a true/false value.
  • 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

// MISC::SET_WEATHER_TYPE
invoke<Void>(0x01F6A4A5A6E8B0E5, weatherType, p1, p2, transition, transitionTime, p5, p6);

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.