Garry's Mod Wiki

GM:PlayerEndVoice

  GM:PlayerEndVoice( Player ply, number plyIndex )

Description

Called when player stops using voice chat.

See GM:PlayerStartVoice for the opposite hook.

Arguments

1 Player ply
Player who stopped talking. Can be NULL when player entity is outside of the PVS. Use the player index.
2 number plyIndex
The player index of the talking player.