MiscClient

setWindSpeed

SET_WIND_SPEED0xEE09ECEDBABE47FC

The GTA V native SET_WIND_SPEED of the MISC namespace, as LS:MP client scripts call it: the global function setWindSpeed, in JavaScript and in Lua.

SignatureJavaScript
setWindSpeed(speed: number): void
SignatureLua
setWindSpeed(speed: number)

Usage

JavaScript
setWindSpeed(speed);
Lua
setWindSpeed(speed)

Parameters

ParameterTypeJavaScriptLua
speedfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Using this native will set the absolute wind speed value. The wind speed clamps to a range of 0.0- 12.0. Setting this value to a negative number resumes the random wind speed changes provided by the game.

Reference

Namespace
Misc MISC
In the game
void SET_WIND_SPEED(float speed)
Hash
0xEE09ECEDBABE47FC

Open in the interactive natives reference