Garry's Mod Wiki

IGModAudioChannel:Get3DFadeDistance

  number, number IGModAudioChannel:Get3DFadeDistance()

Description

Returns 3D fade distances of a sound channel.

Returns

1 number
The minimum distance. The channel's volume is at maximum when the listener is within this distance
2 number
The maximum distance. The channel's volume stops decreasing when the listener is beyond this distance