Main/resources/[carscripts]/community_bridge/modules/weather/cd_easytime/client.lua
2025-08-06 16:37:06 +02:00

12 lines
No EOL
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