Перейти к содержанию

Gameplay::setWeatherTypeNow

Материал из RAGE MP Wiki Archive
Версия от 10:06, 22 июля 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

Syntax

<syntaxhighlight lang="javascript">mp.game.gameplay.setWeatherTypeNow(weatherType);</syntaxhighlight>

Required Arguments

  • weatherType: String

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also