OnPlayerUnmute
From Multi Theft Auto: Wiki
This event is triggered when a player has been unmuted by setPlayerMuted.
Parameters
No parameters.
Source
The source of this event is the player who got unmuted.
Cancel effect
If this event is canceled, the player will not be unmuted.
Example
This example outputs to chatbox the player name who's unmuted.
function unmuted() outputChatBox(getPlayerName(source) .. " has been unmuted", root, 255, 0, 0) end addEventHandler("onPlayerUnmute", root, unmuted)
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