RedM Natives

_SET_WEATHER_VARIATION

Hash0x3373779BAF7CAF48
Runtime nameSetWeatherVariation
NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_WEATHER_VARIATION(const char* weatherType, const char* variation);

Parameters

NameTypeDescription
weatherTypeconst char*—
variationconst char*—

Returns void

Description

https://github.com/femga/rdr3_discoveries/blob/master/weather/weather_variations.lua

Usage

Lua
SetWeatherVariation(weatherType, variation)

-- always works, by hash
Citizen.InvokeNative(0x3373779BAF7CAF48, weatherType, variation)
JavaScript and C#
JavaScript
SetWeatherVariation(weatherType, variation);

// by hash
Citizen.invokeNative('0x3373779BAF7CAF48', weatherType, variation);
C#
Function.Call((Hash)0x3373779BAF7CAF48, weatherType, variation);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.