Garry's Mod Wiki

Revision Difference

util.IsPlayerSpeaking#568272

<function name="IsPlayerSpeaking" parent="util" type="libraryfunc">⤶ <description>⤶ Returns whether the player at given index is speaking or not.⤶ ⤶ This is used internally by the voice chat HUD for players outside of the PVS.⤶ </description>⤶ <realm>Client</realm>⤶ <added>2026.08.12</added>⤶ <args>⤶ <arg name="entIndex" type="number">The entity index of the player to check.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Whether the player at given index is currently speaking.</ret>⤶ <ret name="" type="number">The current voice volume (<page>Player:VoiceVolume</page>) of the player if they are speaking.</ret>⤶ </rets>⤶ </function>⤶ ⤶