IGModAudioChannel/SetVolume

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetVolume
 
|Parent=IGModAudioChannel
 
 
|Description=Sets the volume of a sound channel
 
|Description=Sets the volume of a sound channel
 
|Realm=Client
 
|Realm=Client
Line 9: Line 7:
 
|type=number
 
|type=number
 
|name=volume
 
|name=volume
|desc=Volume to set, a number between 0 and 1
+
|desc=Volume to set. 1 meaning 100% volume, 0.5 is 50% and 3 is 300%, etc.
 +
 
 +
 
 
}}
 
}}

Revision as of 18:20, 22 May 2019

 IGModAudioChannel:SetVolume( )

Description

Sets the volume of a sound channel

Arguments

number volume

Volume to set. 1 meaning 100% volume, 0.5 is 50% and 3 is 300%, etc.
Personal tools
Navigation