setWind
SET_WIND0xAC3A74E8384A9919The GTA V native SET_WIND of the MISC namespace, as LS:MP client scripts call it: the global function setWind, in JavaScript and in Lua.
setWind(speed: number): voidsetWind(speed: number)Usage
JavaScript
setWind(speed);Lua
setWind(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.
Sets the the normalized wind speed value. The wind speed clamps always at 12.0, setWind sets the wind in a percentage, 0.0 is 0 and 1.0 is 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(float speed)- Hash
0xAC3A74E8384A9919