Перейти к содержанию

EnablePlayerVoiceTo

Материал из RAGE MP Wiki Archive

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.

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

<syntaxhighlight lang="csharp"> NAPI.Player.EnablePlayerVoiceTo(player, target); </syntaxhighlight>