Gameplay::setRandomWeatherType: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 April 2024

  • curprev 09:2409:24, 29 April 2024Shr0x talk contribs 502 bytes +502 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..."