- Documentation
- Shared functions
- isPlayerVoiceMuted
Function
isPlayerVoiceMuted
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