Garry's Mod Wiki

Revision Difference

Player:VoiceVolume#565208

<function name="VoiceVolume" parent="Player" type="classfunc"> <description>Returns the players voice volume, how loud the player's voice communication currently is, as a number in range of [0,1].⤶ ⤶ Doesn't work on local player unless the `voice_loopback` convar is set to `1`.</description>⤶ <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).<br/>⤶ Otherwise it will work on local player only if the `voice_loopback` convar is set to `1`.⤶ </description>⤶ <realm>Client</realm> <rets> <ret name="" type="number">The voice volume.</ret> </rets> </function>