ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isPlayerVoiceMuted

Function

isPlayerVoiceMuted

Server and clientPlayersTrilogy Hub only

Checks whether a player is muted in voice chat: by setPlayerVoiceMuted or, if that function was not used, by the server setting mutedByDefault. Also works on the client.

Syntax

bool isPlayerVoiceMuted(player thePlayer)

Arguments

thePlayerplayer
The player.

Returns

true when muted.

Example

if isPlayerVoiceMuted(localPlayer) then outputChatBox("Jesteś wyciszony na czacie głosowym.") end

See also