Client

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


exports.ft_qb_weathersystem:ChangeWeather(weatherType)
exports.ft_qb_weathersystem:ChangeTime(hour, minute)
exports.ft_qb_weathersystem:ToggleFreezeTime()

Last updated