Gameplay::getNextWeatherTypeHashName

From RAGE Multiplayer Wiki

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