{"hash":"0x59174F1AFE095B5A","ns":"MISC","name":"SET_WEATHER_TYPE","slug":"SET_WEATHER_TYPE","official":true,"named":true,"luaName":"SetWeatherType","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"weatherType","type":"Hash"},{"name":"p1","type":"BOOL"},{"name":"p2","type":"BOOL"},{"name":"transition","type":"BOOL"},{"name":"transitionTime","type":"float"},{"name":"p5","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"https://github.com/femga/rdr3_discoveries/blob/master/weather/weather_types.lua"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/SET_WEATHER_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/SET_WEATHER_TYPE.md","snippets":{"lua":"SetWeatherType(weatherType, p1, p2, transition, transitionTime, p5)","luaInvoke":"Citizen.InvokeNative(0x59174F1AFE095B5A, weatherType, p1, p2, transition, transitionTime, p5)","js":"SetWeatherType(weatherType, p1, p2, transition, transitionTime, p5);","jsInvoke":"Citizen.invokeNative('0x59174F1AFE095B5A', weatherType, p1, p2, transition, transitionTime + 0.0000001, p5);","csharp":"Function.Call((Hash)0x59174F1AFE095B5A, weatherType, p1, p2, transition, transitionTime, p5);","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."]}}