WATER_OVERRIDE_SET_SHOREWAVEAMPLITUDE
Only used in smuggler2 script Also see weather.xml (ShoreWaveAmplitude)
Hash
0x55123D5A7D9D3C42Runtime name
WaterOverrideSetShorewaveamplitudeNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB8F87EAD7533B176Signature
void WATER_OVERRIDE_SET_SHOREWAVEAMPLITUDE(float amplitude);Parameters
| Name | Type | Description |
|---|---|---|
amplitude | float | — |
Returns void
Description
Only used in smuggler2 script
Also see weather.xml (ShoreWaveAmplitude)
Usage
WaterOverrideSetShorewaveamplitude(amplitude)
-- always works, by hash
Citizen.InvokeNative(0x55123D5A7D9D3C42, amplitude)JavaScript and C#
WaterOverrideSetShorewaveamplitude(amplitude);
// by hash
Citizen.invokeNative('0x55123D5A7D9D3C42', amplitude + 0.0000001);Function.Call((Hash)0x55123D5A7D9D3C42, amplitude);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.