Garry's Mod Wiki

Revision Difference

GM:PlayerEndVoice#568279

<function name="PlayerEndVoice" parent="GM" type="hook"> <description>Called when player stops using voice chat. See <page>GM:PlayerStartVoice</page> for the opposite hook. </description> <realm>Client</realm> <args> <arg name="ply" type="Player">Player who stopped talking. Can be NULL when player entity is outside of the PVS. Use the player index.</arg> <arg name="plyIndex" type="number">The player index of the talking player.</arg> <arg name="plyIndex" type="number">The <page text="player index">Entity:EntIndex</page> of the talking player.</arg> </args> </function>