DisablePlayerVoiceTo

From RAGE Multiplayer Wiki
Revision as of 19:44, 22 December 2022 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);