2025-01-08 06:33:31 -05:00
|
|
|
if GetResourceState('qb-weathersync') ~= 'started' then return end
|
|
|
|
|
Weather = {}
|
|
|
|
|
|
|
|
|
|
Weather.ToggleSync = function(toggle)
|
|
|
|
|
if toggle then
|
|
|
|
|
TriggerEvent("qb-weathersync:client:EnableSync")
|
|
|
|
|
else
|
|
|
|
|
TriggerEvent("qb-weathersync:client:DisableSync")
|
|
|
|
|
end
|
|
|
|
|
end
|