10 lines
273 B
Lua
10 lines
273 B
Lua
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 |