Gameplay::getWindSpeed
Client-Side Function
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}`);