SET_AUDIO_SUBMIX_EFFECT_PARAM_INT
Sets an integer parameter for a submix effect.
Signature
void SET_AUDIO_SUBMIX_EFFECT_PARAM_INT(int submixId, int effectSlot, int paramIndex, int paramValue);Parameters
| Name | Type | Description |
|---|---|---|
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
Sets an integer parameter for a submix effect.
Usage
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue)
-- always works, by hash
Citizen.InvokeNative(0x77fae2b8, submixId, effectSlot, paramIndex, paramValue)JavaScript and C#
SetAudioSubmixEffectParamInt(submixId, effectSlot, paramIndex, paramValue);
// by hash
Citizen.invokeNative('0x77fae2b8', submixId, effectSlot, paramIndex, paramValue);Function.Call((Hash)0x77fae2b8, submixId, effectSlot, paramIndex, paramValue);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.