_GET_RANDOM_WEATHER_TYPE_INDEX
Hash
0x7F4CE164D9A11DFERuntime name
GetRandomWeatherTypeIndexNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_RANDOM_WEATHER_TYPE_INDEX();Returns int
Usage
local retval = GetRandomWeatherTypeIndex()
-- always works, by hash
local retval = Citizen.InvokeNative(0x7F4CE164D9A11DFE, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetRandomWeatherTypeIndex();
// by hash
const retval = Citizen.invokeNative('0x7F4CE164D9A11DFE', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x7F4CE164D9A11DFE);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.