structura foldere

mutat kq- folders in un singur folder [kq]
This commit is contained in:
2026-03-30 01:55:03 +03:00
parent af1286d583
commit c291b81f26
2319 changed files with 0 additions and 14 deletions
@@ -0,0 +1,27 @@
--[[
Here you have the weather tyme configuration, you can modify it or even
create your own! In case your inventory is not here, you can ask the
creator to create a file following this example and add it!
]]
if Config.Weather ~= 'cd_easytime' then
return
end
RegisterNetEvent('advancedgarages:GetWeatherSync')
AddEventHandler('advancedgarages:GetWeatherSync', function(bool, time)
if bool then
Wait(150)
TriggerEvent('cd_easytime:PauseSync', true)
NetworkOverrideClockTime(time, 0, 0)
ClearOverrideWeather()
ClearWeatherTypePersist()
SetWeatherTypePersist('CLEAR')
SetWeatherTypeNow('CLEAR')
SetWeatherTypeNowPersist('CLEAR')
else
Wait(150)
TriggerEvent('cd_easytime:PauseSync', false)
Debug('Time was resynchronized to the original')
end
end)
@@ -0,0 +1,27 @@
--[[
Here you have the weather tyme configuration, you can modify it or even
create your own! In case your inventory is not here, you can ask the
creator to create a file following this example and add it!
]]
if Config.Weather ~= 'qb-weathersync' then
return
end
RegisterNetEvent('advancedgarages:GetWeatherSync')
AddEventHandler('advancedgarages:GetWeatherSync', function(bool, time)
if bool then
Wait(150)
TriggerEvent('qb-weathersync:client:DisableSync')
NetworkOverrideClockTime(time, 0, 0)
ClearOverrideWeather()
ClearWeatherTypePersist()
SetWeatherTypePersist('CLEAR')
SetWeatherTypeNow('CLEAR')
SetWeatherTypeNowPersist('CLEAR')
else
Wait(150)
TriggerEvent('qb-weathersync:client:EnableSync')
Debug('Time was resynchronized to the original')
end
end)
@@ -0,0 +1,28 @@
--[[
Here you have the weather tyme configuration, you can modify it or even
create your own! In case your inventory is not here, you can ask the
creator to create a file following this example and add it!
]]
if Config.Weather ~= 'vSync' then
return
end
RegisterNetEvent('advancedgarages:GetWeatherSync')
AddEventHandler('advancedgarages:GetWeatherSync', function(bool, time)
if bool then
Wait(150)
TriggerEvent('vSync:updateWeather', 'EXTRASUNNY', false)
NetworkOverrideClockTime(time, 0, 0)
ClearOverrideWeather()
ClearWeatherTypePersist()
SetWeatherTypePersist('CLEAR')
SetWeatherTypeNow('CLEAR')
SetWeatherTypeNowPersist('CLEAR')
else
Wait(150)
TriggerEvent('vSync:toggle', true)
TriggerServerEvent('vSync:requestSync')
Debug('Time was resynchronized to the original')
end
end)