SetPlayerVoiceIgnoreFrom: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} __NOTOC__ This function allows you to mute voices for a player. ==Syntax== <syntaxhighlight lang="lua"> bool setPlayerVoiceIgnoreFrom ( element thePlayer, mixed ignoreFr...")
(No difference)

Revision as of 13:54, 22 August 2011

This function allows you to mute voices for a player.

Syntax

bool setPlayerVoiceIgnoreFrom ( element thePlayer, mixed ignoreFrom )

Required Arguments

  • thePlayer: The player you wish to change
  • ignoreFrom: Element or table of elements which the player should not hear voices from. Use nil if no one should be ignored.

Returns

Returns true if the value was set successfully, false otherwise.

Example

Click to collapse [-]
Server

See Also