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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | weatherType |
– |
| 1 | BOOL | p1 |
– |
| 2 | BOOL | p2 |
– |
| 3 | BOOL | transition |
– |
| 4 | float | transitionTime |
– |
| 5 | BOOL | p5 |
– |
| 6 | BOOL | p6 |
– |
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);// MISC::SET_WEATHER_TYPE
Function.Call((Hash)0x01F6A4A5A6E8B0E5, weatherType, p1, p2, transition, transitionTime, p5, p6);-- MISC::SET_WEATHER_TYPE
Citizen.InvokeNative(0x01F6A4A5A6E8B0E5, weatherType, p1, p2, transition, transitionTime, p5, p6)// MISC::SET_WEATHER_TYPE
Citizen.invokeNative("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.