Gameplay::getNextWeatherTypeHashName

From RAGE Multiplayer Wiki
Revision as of 15:36, 29 April 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the hash name of the next weather type ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getNextWeatherTypeHashName(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const nextWeather = mp.game.gameplay.getNextWeatherTypeHashName(); mp.console.logInfo(`Next weather hash type is: ${nextWeather}`) </syntaxhighlight> }} ==See also== {{Gameplay_de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

Gets the hash name of the next weather type

Return value

  • number

Syntax

mp.game.gameplay.getNextWeatherTypeHashName();

Example

const nextWeather = mp.game.gameplay.getNextWeatherTypeHashName();
mp.console.logInfo(`Next weather hash type is: ${nextWeather}`)


See also