ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setPlayerVoiceIgnoreFrom

Function

setPlayerVoiceIgnoreFrom

ServerPlayersIdentical to MTA:SA

Sets whom the player does not hear.

Syntax

bool setPlayerVoiceIgnoreFrom(player thePlayer, mixed ignoreFrom)

Arguments

thePlayerplayer
The player.
ignoreFrommixed
An element, a table of elements, or nil.

Returns

true on success.

Example

setPlayerVoiceIgnoreFrom(player, annoyingPlayer)

See also