- Dokumentacja
- Funkcje serwera
- isPlayerMuted
Funkcja
isPlayerMuted
Sprawdza, czy gracz jest wyciszony na czacie.
Składnia
bool isPlayerMuted(player thePlayer)Argumenty
thePlayerplayer- Gracz.
Zwraca
true, jeśli wyciszony.
Przykład
addEventHandler("onPlayerChat", root, function()
if isPlayerMuted(source) then
outputChatBox("Jesteś wyciszony.", source, 255, 0, 0)
end
end)