# CFX::SET_AUDIO_SUBMIX_EFFECT_PARAM_INT

- **Hash:** `0x77FAE2B8`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetAudioSubmixEffectParamInt`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_AUDIO_SUBMIX_EFFECT_PARAM_INT

## Signature

```c
void SET_AUDIO_SUBMIX_EFFECT_PARAM_INT(int submixId, int effectSlot, int paramIndex, int paramValue);
```

## Parameters

- `submixId` (`int`) — The submix.
- `effectSlot` (`int`) — The effect slot for the submix. It is expected that the effect is set in this slot beforehand.
- `paramIndex` (`int`) — The parameter index for the effect.
- `paramValue` (`int`) — The parameter value to set.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets an integer parameter for a submix effect.

## Usage

### Lua

```lua
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue)

-- always available, by hash
Citizen.InvokeNative(0x77fae2b8, submixId, effectSlot, paramIndex, paramValue)
```

### JavaScript

```js
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue);

// by hash
Citizen.invokeNative('0x77fae2b8', submixId, effectSlot, paramIndex, paramValue);
```

### C#

```csharp
Function.Call((Hash)0x77fae2b8, submixId, effectSlot, paramIndex, paramValue);
```

*Sources: Cfx.re native reference.*
