The Lab
MISC native

_SET_OVERRIDE_WEATHER

returns void1 parambuild 1207

Overrides the current weather with weatherType until the override is cleared.

Clear it with CLEAR_OVERRIDE_WEATHER.

Signature

C
void _SET_OVERRIDE_WEATHER(Hash weatherType); // 0xBE83CAE8ED77A94F b1207

Parameters

#NameType
1weatherTypeHash

Facts

Facts about _SET_OVERRIDE_WEATHER
Name
_SET_OVERRIDE_WEATHER
Hash
0xBE83CAE8ED77A94F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xBE83CAE8ED77A94F, -- _SET_OVERRIDE_WEATHER
  GetHashKey("name") -- Hash weatherType
)
JavaScript
Citizen.invokeNative("0xBE83CAE8ED77A94F", // _SET_OVERRIDE_WEATHER
  GetHashKey("name") // Hash weatherType
);
C#
Function.Call((Hash)0xBE83CAE8ED77A94F, // _SET_OVERRIDE_WEATHER
  (uint)API.GetHashKey("name") // Hash weatherType
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.