12 lines
330 B
Lua
12 lines
330 B
Lua
![]() |
---@diagnostic disable: duplicate-set-field
|
||
|
if GetResourceState('cd_easytime') == 'missing' then return end
|
||
|
Weather = Weather or {}
|
||
|
|
||
|
---This will toggle the players weather/time sync
|
||
|
---@param toggle boolean
|
||
|
---@return nil
|
||
|
Weather.ToggleSync = function(toggle)
|
||
|
TriggerEvent('cd_easytime:PauseSync', toggle)
|
||
|
end
|
||
|
|
||
|
return Weather
|