Weather
By default, the weather system used is AV Weather, if you don't own it then go to client/editable/_weather.lua and place your own weather exports/events inside Weather() function. Example for qb-weathersync:
function Weather(freeze)
if freeze then
-- Freeze time
TriggerEvent('qb-weathersync:client:DisableSync')
else
-- Unfreeze time
TriggerEvent('qb-weathersync:client:EnableSync')
end
end
Last updated