RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_AUDIO_SUBMIX_EFFECT_RADIO_FX

SET_AUDIO_SUBMIX_EFFECT_RADIO_FX

Assigns a RadioFX effect to a submix effect slot. The parameter values for this effect are as follows (backticks are used to represent hashes): | Index | Type | Description | |-|-|-| | \`enabled\` | int | Enables or disables RadioFX on this DSP. | | \`default\` | int | Sets default parameters for the RadioFX DSP and enables it. | | \`freq_low\` | float | | | \`freq_hi\` | float | | | \`fudge\` | float | | | \`rm_mod_freq\` | float | | | \`rm_mix\` | float | | | \`o_freq_lo\` | float | | | \`o_freq_hi\` | float | |

CFX

Signature

lua
SetAudioSubmixEffectRadioFx(0, 0)
-- returns void

Parameters

NameTypeDescription
intThe submix.
intThe effect slot for the submix.

Usage

Named call
SetAudioSubmixEffectRadioFx(0, 0)
InvokeNative
Citizen.InvokeNative(0xAAA94D53, 0, 0)
lua 1
-- we want to change the master output
local submix = 0

-- add a RadioFX effect to slot 0
SetAudioSubmixEffectRadioFx(submix, 0)

-- set the default values
SetAudioSubmixEffectParamInt(submix, 0, `default`, 1)

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details