Server

You can use these functions in any client side code to show custom notifications.


Parameters:

  • 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


TriggerClientEvent('ft_weathersystem:setweather', weatherType)
TriggerClientEvent('ft_weathersystem:settime', hour, minute)
TriggerClientEvent('ft_weathersystem:toggledynamictime')

Last updated