SetPlayerVoiceIgnoreFrom
Jump to navigation
Jump to search
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 [-]
ServerSee Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState