Gameplay::setWeatherTypeNow
Jump to navigation
Jump to search
The following weatherTypes are used in the scripts:
'CLEAR'
'EXTRASUNNY'
'CLOUDS'
'OVERCAST'
'RAIN'
'CLEARING'
'THUNDER'
'SMOG'
'FOGGY'
'XMAS'
'SNOWLIGHT'
'BLIZZARD'
Syntax
mp.game.gameplay.setWeatherTypeNow(weatherType);Required Arguments
- weatherType: String
Return value
- Undefined
Example
// todo