EnablePlayerVoiceTo

From RAGE Multiplayer Wiki

Enables the voice transmission to a target.
Use DisablePlayerVoiceTo to disable it again.

To use the voice-chat you can activate it in the Server_settings.

C# Syntax

void NAPI.Player.EnablePlayerVoiceTo(Player player, Player target);

Parameters

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

Example

NAPI.Player.EnablePlayerVoiceTo(player, target);