Gameplay::getWindSpeed

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Gets current wind speed

Return value

  • float

Syntax

mp.game.gameplay.getWindSpeed();

Example

const windSpeed = mp.game.gameplay.getWindSpeed();
mp.console.logInfo(`Current wind speed is ${windSpeed}`);


See also