Skip to main content

OnPlayerVoice

Usage​

  • Called when the player uses the in-game voice chat
  • Return a non-null value to override default behavior

Examples​

""
object OnPlayerVoice(BasePlayer player, Byte[] data)
{
Puts("OnPlayerVoice works!");
return null;
}