โ˜๏ธWeather Sync

QB-WEATHERSYNC

Put this in qb-weathersync/client/client.lua right below [ local disable = Config.Disabled ] It Should look like this: https://i.imgur.com/D4A3xKq.png

RegisterNetEvent('Pug:client:ToggleWeatherSyncOff', function()
    disable = true
end)
RegisterNetEvent('Pug:client:ToggleWeatherSyncOn', function()
    disable = false
end)

CD_EASYTIME WEATHER SYNC

if you are using cd_easytime put this at the bottom oc cd_easytime/client.lua

RegisterNetEvent('Pug:client:ToggleWeatherSyncOff', function()
    TriggerEvent("cd_easytime:PauseSync", true)
end)
RegisterNetEvent('Pug:client:ToggleWeatherSyncOn', function()
    TriggerEvent("cd_easytime:PauseSync")
end)

Last updated