Server-side event

onPlayerMute

From Multi Theft Auto: Wiki
Revision as of 13:04, 27 February 2014 by Jacob (talk | contribs) (→‎Example)
Jump to navigation Jump to search

This event is triggered when a player has been muted by setPlayerMuted.

Parameters

none

Cancel effect

If this event is canceled, the player will not be muted.

Example

function muted()
    outputChatBox(getPlayerName(source) .. " has been muted.", root, 255, 0, 0)
end
addEventHandler("onPlayerMute", root, muted)

See Also

Player events


Event functions