The Lab
MISC native

_GET_RANDOM_WEATHER_TYPE

returns Hash0 paramsbuild 1207

Returns the hash of a randomly selected weather type.

Signature

C
Hash _GET_RANDOM_WEATHER_TYPE(); // 0x1359C181BC625503 b1207

Parameters

This native takes no parameters.

Facts

Facts about _GET_RANDOM_WEATHER_TYPE
Name
_GET_RANDOM_WEATHER_TYPE
Hash
0x1359C181BC625503
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x1359C181BC625503, -- _GET_RANDOM_WEATHER_TYPE
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x1359C181BC625503", // _GET_RANDOM_WEATHER_TYPE
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x1359C181BC625503); // _GET_RANDOM_WEATHER_TYPE
All MISC natives

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