Files

16 lines
397 B
Lua
Raw Permalink Normal View History

---@diagnostic disable: duplicate-set-field
2025-05-18 23:45:37 -04:00
if GetResourceState('cd_easytime') == 'missing' then return end
2025-03-10 01:35:58 -04:00
Weather = Weather or {}
---This will toggle the players weather/time sync
2025-03-10 01:35:58 -04:00
---@param toggle boolean
---@return nil
2025-03-10 01:35:58 -04:00
Weather.ToggleSync = function(toggle)
TriggerEvent('cd_easytime:PauseSync', toggle)
end
2025-09-10 12:27:12 -04:00
Weather.GetResourceName = function()
return "cd_easytime"
end
return Weather