Skip to main content

DisablePlayerVoiceTo

Disables the voice transmission to a target.

Use [EnablePlayerVoiceTo](/enableplayervoiceto) to enable it.

To use the voice-chat you can activate it in the [Server settings](/server-settings).

  • player: Parameter input should be in Player type.
  • target: Parameter input should be in Player type.

{{#tag:syntaxhighlight| Player.DisablePlayerVoiceTo(player, target); |lang=csharp}} }}