RedM Natives

SET_AUDIO_SUBMIX_EFFECT_PARAM_INT

Sets an integer parameter for a submix effect.

Hash0x77FAE2B8
Runtime nameSetAudioSubmixEffectParamInt
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

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

Parameters

NameTypeDescription
submixIdint

The submix.

effectSlotint

The effect slot for the submix. It is expected that the effect is set in this slot beforehand.

paramIndexint

The parameter index for the effect.

paramValueint

The parameter value to set.

Returns void

Description

Cfx.re native reference

Sets an integer parameter for a submix effect.

Usage

Lua
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue)

-- always works, by hash
Citizen.InvokeNative(0x77fae2b8, submixId, effectSlot, paramIndex, paramValue)
JavaScript and C#
JavaScript
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue);

// by hash
Citizen.invokeNative('0x77fae2b8', submixId, effectSlot, paramIndex, paramValue);
C#
Function.Call((Hash)0x77fae2b8, submixId, effectSlot, paramIndex, paramValue);

Sources

Cfx.re native reference

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