RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_AUDIO_SUBMIX_OUTPUT_VOLUMES

SET_AUDIO_SUBMIX_OUTPUT_VOLUMES

Sets the volumes for the sound channels in a submix effect. Values can be between 0.0 and 1.0. Channel 5 and channel 6 are not used in voice chat but are believed to be center and LFE channels. Output slot starts at 0 for the first ADD_AUDIO_SUBMIX_OUTPUT call then incremented by 1 on each subsequent call.

CFX

Signature

lua
SetAudioSubmixOutputVolumes(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
-- returns void

Parameters

NameTypeDescription
intThe submix.
intThe output slot index.
floatThe volume for the front left channel.
floatThe volume for the front right channel.
floatThe volume for the rear left channel.
floatThe volume for the rear right channel.
floatThe volume for channel 5.
floatThe volume for channel 6.

Usage

lua
SetAudioSubmixOutputVolumes(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details