IGModAudioChannel:SetVolume

  IGModAudioChannel:SetVolume( number volume )

Açıklama

Bir ses kanalının ses seviyesini ayarlar

Argümanlar

1 number volume
Ayarlanacak ses seviyesi. 1, %100 ses seviyesi anlamına gelir; 0.5, %50 ve 3, %300'dür, vb.

Örnek

Bir Half-Life 1 müziğini %300 ses seviyesinde çalar

sound.PlayFile( "sound/music/hl1_song20.mp3", "", function( channel ) if ( IsValid( channel ) ) then channel:Play() channel:SetVolume( 3 ) end end )

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord