Skip to main content

Gameplay::setWeatherTypeNowPersist

The following weatherTypes are used in the scripts: 'CLEAR' 'EXTRASUNNY' 'CLOUDS' 'OVERCAST' 'RAIN' 'CLEARING' 'THUNDER' 'SMOG' 'FOGGY' 'XMAS' 'SNOWLIGHT' 'BLIZZARD'

Syntax

```js mp.game.gameplay.setWeatherTypeNowPersist(weatherType); ```

Required Arguments

  • weatherType: String

Return value

  • Undefined

Example

```js // todo ```

See also