Server
You can use these functions in any client side code to show custom notifications.
type?:
string
Weather type only mention in Config.WeatherTypes
'EXTRASUNNY', 'NEUTRAL', 'CLOUDS', 'CLEAR', 'OVERCAST',
'FOGGY', 'SMOG', 'CLEARING', 'RAIN', 'SNOW', 'HALLOWEEN',
'XMAS', 'SNOWLIGHT', 'BLIZZARD', 'THUNDER',
hour?:
number
clock hour ex: 12
minute?:
number
clock minute ex: 30
Change weather type instantly
TriggerClientEvent('ft_weathersystem:setweather', weatherType)
Change Time instantly
TriggerClientEvent('ft_weathersystem:settime', hour, minute)
Freeze Time instantly
TriggerClientEvent('ft_weathersystem:toggledynamictime')
Last updated