Garry's Mod Wiki

Revision Difference

GM:PlayerEndVoice#568278

<function name="PlayerEndVoice" parent="GM" type="hook"> <description>Called when player stops using voice chat.</description>⤶ <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</arg>⤶ <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>⤶ </args> </function>