MiscClient

waterOverrideSetOceanwavemaxamplitude

WATER_OVERRIDE_SET_OCEANWAVEMAXAMPLITUDE0xB3E6360DDE733E82

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

SignatureJavaScript
waterOverrideSetOceanwavemaxamplitude(maxAmplitude: number): void
SignatureLua
waterOverrideSetOceanwavemaxamplitude(maxAmplitude: number)

Usage

JavaScript
waterOverrideSetOceanwavemaxamplitude(maxAmplitude);
Lua
waterOverrideSetOceanwavemaxamplitude(maxAmplitude)

Parameters

ParameterTypeJavaScriptLua
maxAmplitudefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void WATER_OVERRIDE_SET_OCEANWAVEMAXAMPLITUDE(float maxAmplitude)
Hash
0xB3E6360DDE733E82

Open in the interactive natives reference