Weather

You can freeze weather and time while inside a vehicleshop, by default this feature is only compatible with av_weather, if you want to make it compatible with your own weather script go to client/editable/weather.lua

-- use variable currentShop to get the current shop name and maybe trigger a different weather based on shop
function weather(freeze)
    if freeze then
        TriggerEvent('av_weather:freeze', true, 19, 40, 'EXTRASUNNY', false)
    else
        TriggerEvent('av_weather:freeze', false)
    end
end

Last updated