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

Event

onPlayerVoiceStop

ServerPlayersIdentical to MTA:SA

A player stopped talking through voice chat. It also happens when the player's voice stopped arriving (e.g. a lost connection). It does not happen for an utterance blocked in onPlayerVoiceStart.

Handler

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

Source

source is the player.

Example

addEventHandler("onPlayerVoiceStop", root, function()
    outputServerLog(getPlayerName(source) .. " skończył mówić")
end)

See also