Skip to main content

Gameplay::getNextWeatherTypeHashName

Client-side function

JavaScript​

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}`)