setWindSpeed
SET_WIND_SPEED0xEE09ECEDBABE47FCThe 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.
setWindSpeed(speed: number): voidsetWindSpeed(speed: number)Usage
JavaScript
setWindSpeed(speed);Lua
setWindSpeed(speed)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
speed | float | number | number |
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