_SET_WEATHER_TYPE_2
Hash
0x2C6A07AF9AEDABD8Runtime name
SetWeatherType_2NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_WEATHER_TYPE_2(Hash weatherType, int p1, int p2, int p3, BOOL p4);Parameters
| Name | Type | Description |
|---|---|---|
weatherType | Hash | — |
p1 | int | — |
p2 | int | — |
p3 | int | — |
p4 | BOOL | — |
Returns void
Usage
SetWeatherType_2(weatherType, p1, p2, p3, p4)
-- always works, by hash
Citizen.InvokeNative(0x2C6A07AF9AEDABD8, weatherType, p1, p2, p3, p4)JavaScript and C#
SetWeatherType_2(weatherType, p1, p2, p3, p4);
// by hash
Citizen.invokeNative('0x2C6A07AF9AEDABD8', weatherType, p1, p2, p3, p4);Function.Call((Hash)0x2C6A07AF9AEDABD8, weatherType, p1, p2, p3, p4);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.