OnPlayerMute: Difference between revisions
Jump to navigation
Jump to search
(Added 'Source') |
(Changed 'unmuted' to 'muted' @ 'Source') |
||
Line 7: | Line 7: | ||
==Source== | ==Source== | ||
The source of this event is the player | The source of this event is the player who got muted. | ||
==Cancel effect== | ==Cancel effect== |
Revision as of 13:30, 9 August 2014
This event is triggered when a player has been muted by setPlayerMuted.
Parameters
none
Source
The source of this event is the player who got muted.
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
- onPlayerACInfo
- onPlayerBan
- onPlayerChangeNick
- onPlayerChat
- onPlayerClick
- onPlayerCommand
- onPlayerConnect
- onPlayerContact
- onPlayerDamage
- onPlayerJoin
- onPlayerLogin
- onPlayerLogout
- onPlayerMarkerHit
- onPlayerMarkerLeave
- onPlayerModInfo
- onPlayerMute
- onPlayerNetworkStatus
- onPlayerPickupHit
- onPlayerPickupLeave
- onPlayerPickupUse
- onPlayerPrivateMessage
- onPlayerQuit
- onPlayerScreenShot
- onPlayerSpawn
- onPlayerStealthKill
- onPlayerTarget
- onPlayerUnmute
- onPlayerVehicleEnter
- onPlayerVehicleExit
- onPlayerVoiceStart
- onPlayerVoiceStop
- onPlayerWasted
- onPlayerWeaponFire
- onPlayerWeaponSwitch
Event functions
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled