EnablePlayerVoiceTo

From RAGE Multiplayer Wiki
Revision as of 12:47, 13 December 2019 by Bonus (talk | contribs) (Created page with "Enables the voice transmission to a target.<br/> Use DisablePlayerVoiceTo to disable it again.<br/> To use the voice-chat you can activate it in the Server_settings....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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(Client player, Client target);

Parameters

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

Example

NAPI.Player.EnablePlayerVoiceTo(player, target);