Garry's Mod Wiki

Player:VoiceVolume

  number Player:VoiceVolume()

Description

Returns the players voice volume, how loud the player's voice communication currently is, as a number in range of [0,1].

This only works when using Steam voice, and only when not recording voice to file. (The default state).
Otherwise it will work on local player only if the voice_loopback convar is set to 1.

Returns

1 number
The voice volume.