Garry's Mod Wiki

util.IsPlayerSpeaking

  boolean, number util.IsPlayerSpeaking( number entIndex )

Recently Added

This was recently added in version (2026.08.12). It might only be available on the Dev Branch right now.

Description

This is used internally - although you're able to use it you probably shouldn't.

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.

Arguments

1 number entIndex
The entity index of the player to check.

Returns

1 boolean
Whether the player at given index is currently speaking.
2 number
The current voice volume (Player:VoiceVolume) of the player if they are speaking.