Gameplay::getPrevWeatherTypeHashName
Client-Side Function
JavaScript Syntax
Gets the hash name of the previous weather type
Return value
- number
Syntax
mp.game.gameplay.getPrevWeatherTypeHashName();
Example
const previousWeather = mp.game.gameplay.getPrevWeatherTypeHashName();
mp.console.logInfo(`Previous weather hash type is: ${previousWeather}`)