RedM Natives

_SET_OCEAN_GUARMA_WATER_QUADRANT

Only used in R* Script guama1

Hash0xC63540AEF8384732
Runtime nameSetOceanGuarmaWaterQuadrant
NamespaceWATER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_OCEAN_GUARMA_WATER_QUADRANT(float wavesHeight, float p1, int wavesDirection, float p3, float wavesAmount, float p5, float wavesSpeed, float wavesStrength, BOOL ignoreHeight);

Parameters

NameTypeDescription
wavesHeightfloat—
p1float—
wavesDirectionint—
p3float—
wavesAmountfloat—
p5float—
wavesSpeedfloat—
wavesStrengthfloat—
ignoreHeightBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

Only used in R* Script guama1

VORPCORE RDR3natives

Only used in R* Script guama1 this native allows to modify the ocean water in the guarma island. wave direction accepts 0, 1 and 2 values.

Usage

Lua
SetOceanGuarmaWaterQuadrant(wavesHeight, p1, wavesDirection, p3, wavesAmount, p5, wavesSpeed, wavesStrength, ignoreHeight)

-- always works, by hash
Citizen.InvokeNative(0xC63540AEF8384732, wavesHeight, p1, wavesDirection, p3, wavesAmount, p5, wavesSpeed, wavesStrength, ignoreHeight)
JavaScript and C#
JavaScript
SetOceanGuarmaWaterQuadrant(wavesHeight, p1, wavesDirection, p3, wavesAmount, p5, wavesSpeed, wavesStrength, ignoreHeight);

// by hash
Citizen.invokeNative('0xC63540AEF8384732', wavesHeight + 0.0000001, p1 + 0.0000001, wavesDirection, p3 + 0.0000001, wavesAmount + 0.0000001, p5 + 0.0000001, wavesSpeed + 0.0000001, wavesStrength + 0.0000001, ignoreHeight);
C#
Function.Call((Hash)0xC63540AEF8384732, wavesHeight, p1, wavesDirection, p3, wavesAmount, p5, wavesSpeed, wavesStrength, ignoreHeight);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.