ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onPlayerMute

Event

onPlayerMute

ServerPlayersIdentical to MTA:SA

A player was muted (setPlayerMuted). A muted player cannot chat.

Handler

addEventHandler("onPlayerMute", root, function() ... end)

Source

source is the player.

Example

addEventHandler("onPlayerMute", root, function()
    outputChatBox("Zostałeś wyciszony.", source, 255, 80, 80)
end)

See also