RedM Natives

GET_RAIN_LEVEL

Hash0x931B5F4CC130224B
Runtime nameGetRainLevel
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x96695E368AD855F3

Signature

float GET_RAIN_LEVEL();

Returns float

Usage

Lua
local retval = GetRainLevel()

-- always works, by hash
local retval = Citizen.InvokeNative(0x931B5F4CC130224B, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetRainLevel();

// by hash
const retval = Citizen.invokeNative('0x931B5F4CC130224B', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x931B5F4CC130224B);

Sources

alloc8or RDR3 NativeDB

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