WaterClient

getDeepOceanScaler

GET_DEEP_OCEAN_SCALER0x2B2A2CC86778B619

The GTA V native GET_DEEP_OCEAN_SCALER of the WATER namespace, as LS:MP client scripts call it: the global function getDeepOceanScaler, in JavaScript and in Lua.

SignatureJavaScript
getDeepOceanScaler(): number
SignatureLua
getDeepOceanScaler(): number

Usage

JavaScript
const value = getDeepOceanScaler();
Lua
local value = getDeepOceanScaler()

Parameters

None.

Returns

float JavaScript number, Lua number

Notes

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

Gets the aggressiveness factor of the ocean waves.

Reference

Namespace
Water WATER
In the game
float GET_DEEP_OCEAN_SCALER()
Hash
0x2B2A2CC86778B619
Formerly
_GET_WAVES_INTENSITY _GET_CURRENT_INTENSITY

Open in the interactive natives reference