🌤️qb-weathersync
Could someone please turn off the rain?
Introduction
Configuration
General
Config = {}
Config.DynamicWeather = true -- set this to false if you don't want the weather to change automatically every 10 minutes.
-- On server start
Config.StartWeather = 'EXTRASUNNY' -- default weather
Config.BaseTime = 8 -- time
Config.TimeOffset = 0 -- time offset
Config.FreezeTime = false -- freeze time
Config.Blackout = false -- set blackout
Config.BlackoutVehicle = false -- set blackout affects vehicles
Config.NewWeatherTimer = 10 -- time (in minutes) between each weather change
Config.Disabled = false -- set weather disabled Weather types
Exports
nextWeatherStage
setWeather [type]
setTime [hour] (minute)
setBlackout (true|false)
setTimeFreeze (true|false)
setDynamicWeather (true|false)
getBlackoutState
getTimeFreezeState
getWeatherState
getDynamicWeather
Events
RequestStateSync
RequestCommands
setWeather
setTime
toggleBlackout
toggleFreezeTime
toggleDynamicWeather
Commands
Last updated
Was this helpful?
