# WATER::_SET_OCEAN_GUARMA_WATER_QUADRANT

- **Hash:** `0xC63540AEF8384732`
- **Namespace:** WATER
- **Runtime name (Lua/JS):** `SetOceanGuarmaWaterQuadrant`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/WATER/_SET_OCEAN_GUARMA_WATER_QUADRANT

## Signature

```c
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

- `wavesHeight` (`float`)
- `p1` (`float`)
- `wavesDirection` (`int`)
- `p3` (`float`)
- `wavesAmount` (`float`)
- `p5` (`float`)
- `wavesSpeed` (`float`)
- `wavesStrength` (`float`)
- `ignoreHeight` (`BOOL`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Only used in R* Script guama1

*Source: 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

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

-- always available, by hash
Citizen.InvokeNative(0xC63540AEF8384732, wavesHeight, p1, wavesDirection, p3, wavesAmount, p5, wavesSpeed, wavesStrength, ignoreHeight)
```

### JavaScript

```js
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#

```csharp
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.*
