Gameplay::getNextWeatherTypeHashName
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}`)