waterOverrideSetStrength
WATER_OVERRIDE_SET_STRENGTH0xC54A08C85AE4D410The GTA V native WATER_OVERRIDE_SET_STRENGTH of the MISC namespace, as LS:MP client scripts call it: the global function waterOverrideSetStrength, in JavaScript and in Lua.
waterOverrideSetStrength(strength: number): voidwaterOverrideSetStrength(strength: number)Usage
JavaScript
waterOverrideSetStrength(strength);Lua
waterOverrideSetStrength(strength)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
strength | 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.
This seems to edit the water wave, intensity around your current location.
0.0f = Normal
1.0f = So Calm and Smooth, a boat will stay still.
3.0f = Really Intense.
Reference
- Namespace
- Misc MISC
- In the game
void WATER_OVERRIDE_SET_STRENGTH(float strength)- Hash
0xC54A08C85AE4D410