DisablePlayerVoiceTo
Disables the voice transmission to a target.
Use EnablePlayerVoiceTo to enable it.
To use the voice-chat you can activate it in the Server_settings.
C# Syntax
void NAPI.Player.DisablePlayerVoiceTo(Player player, Player target);
Parameters
- player: Parameter input should be in Player type.
- target: Parameter input should be in Player type.
Example
NAPI.Player.DisablePlayerVoiceTo(player, target);