Files
community_bridge/modules/weather/cd_easytime/client.lua
T

12 lines
330 B
Lua
Raw 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
return Weather