{"hash":"0xFA3E3CA8A1DE6D5D","ns":"MISC","name":"SET_CURR_WEATHER_STATE","slug":"SET_CURR_WEATHER_STATE","official":true,"named":true,"luaName":"SetCurrWeatherState","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"weatherType1","type":"Hash"},{"name":"weatherType2","type":"Hash"},{"name":"percentWeather2","type":"float"},{"name":"enabled","type":"BOOL"}],"summary":"Old name: _SET_WEATHER_TYPE_TRANSITION","descriptions":[{"source":"alloc8or","format":"text","body":"Params: BOOL p3 is always true\n\nOld name: _SET_WEATHER_TYPE_TRANSITION"}],"examples":[],"aliases":[],"enums":[],"related":["0x0AC679B2342F14F2"],"build":"1207","gtaHash":"0x578C752848ECFA0C","gtaJhash":"0x5CA74040","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/SET_CURR_WEATHER_STATE","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/SET_CURR_WEATHER_STATE.md","snippets":{"lua":"SetCurrWeatherState(weatherType1, weatherType2, percentWeather2, enabled)","luaInvoke":"Citizen.InvokeNative(0xFA3E3CA8A1DE6D5D, weatherType1, weatherType2, percentWeather2, enabled)","js":"SetCurrWeatherState(weatherType1, weatherType2, percentWeather2, enabled);","jsInvoke":"Citizen.invokeNative('0xFA3E3CA8A1DE6D5D', weatherType1, weatherType2, percentWeather2 + 0.0000001, enabled);","csharp":"Function.Call((Hash)0xFA3E3CA8A1DE6D5D, weatherType1, weatherType2, percentWeather2, enabled);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}