- Documentation
- Server functions
- isPlayerMuted
Function
isPlayerMuted
Checks whether a player is muted in chat.
Syntax
bool isPlayerMuted(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
true if muted.
Example
addEventHandler("onPlayerChat", root, function()
if isPlayerMuted(source) then
outputChatBox("Jesteś wyciszony.", source, 255, 0, 0)
end
end)