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

10 lines
273 B
Lua
Raw Normal View History

2025-01-08 06:33:31 -05:00
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