{"hash":"0x0AC679B2342F14F2","ns":"MISC","name":"GET_CURR_WEATHER_STATE","slug":"GET_CURR_WEATHER_STATE","official":true,"named":true,"luaName":"GetCurrWeatherState","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"weatherType1","type":"Hash*"},{"name":"weatherType2","type":"Hash*"},{"name":"percentWeather2","type":"float*"}],"summary":"Old name: _GET_WEATHER_TYPE_TRANSITION","descriptions":[{"source":"alloc8or","format":"text","body":"Params: percentWeather2: 0f - 0.75f in R* Scripts\n\nOld name: _GET_WEATHER_TYPE_TRANSITION"}],"examples":[],"aliases":[],"enums":[],"related":["0xFA3E3CA8A1DE6D5D"],"build":"1207","gtaHash":"0xF3BBE884A14BB413","gtaJhash":"0x9A5C1D56","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/GET_CURR_WEATHER_STATE","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/GET_CURR_WEATHER_STATE.md","snippets":{"lua":"local weatherType1, weatherType2, percentWeather2 = GetCurrWeatherState()","luaInvoke":"local weatherType1, weatherType2, percentWeather2 = Citizen.InvokeNative(0x0AC679B2342F14F2, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueFloat())","js":"const [weatherType1, weatherType2, percentWeather2] = GetCurrWeatherState();","jsInvoke":"const [weatherType1, weatherType2, percentWeather2] = Citizen.invokeNative('0x0AC679B2342F14F2', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueFloat());","csharp":"var weatherType1 = new OutputArgument();\nvar weatherType2 = new OutputArgument();\nvar percentWeather2 = new OutputArgument();\nFunction.Call((Hash)0x0AC679B2342F14F2, weatherType1, weatherType2, percentWeather2);\n// weatherType1.GetResult<int>()\n// weatherType2.GetResult<int>()\n// percentWeather2.GetResult<float>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}