Gameplay::getPrevWeatherTypeHashName

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



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


See also