Skip to content

Player Interaction

This page documents hooks in the player interaction category.


OnVoiceTypeChanged(client)View Source

Purpose

Runs after a client changes their voice mode through a player interaction action.

Category

Player Interaction

Realm

Server

Parameters

Player client The player whose voice mode changed.

Example Usage

  hook.Add("OnVoiceTypeChanged", "liaExampleOnVoiceTypeChanged", function(client)
      if not IsValid(client) then return end
      print(string.format("[MyModule] handled OnVoiceTypeChanged for %s", client:Name()))
  end)