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

Gameplay::setRandomWeatherType

Материал из RAGE MP Wiki Archive
Версия от 09:24, 29 апреля 2024; imported>Shr0x (Created page with "{{ClientsideJsFunction}} {{JSContainer| Sets a random weather ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.setRandomWeatherType(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //Set a random weather every 1 hour. setInterval(() => { mp.game.gameplay.setRandomWeatherType(); }, 60 * 60 * 1000) </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)