# onClientPlayerVoiceStop (Client)

> Fired on this client when a player stops speaking on voice chat.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Event
- **Side**: Client
- **Category**: Voice
- **URL**: https://wiki.mymp.gg/en/onClientPlayerVoiceStop

## Syntax

```lua
addEventHandler("onClientPlayerVoiceStop", root, function() ... end)
```

## Source

The player who stopped speaking.

It does not fire when that speech's `onClientPlayerVoiceStart` was cancelled.

## Example

```lua
local talking = {}

addEventHandler("onClientPlayerVoiceStart", root, function()
    talking[source] = true
end)

addEventHandler("onClientPlayerVoiceStop", root, function()
    talking[source] = nil
end)
```

## See also

- [onClientPlayerVoiceStart (Client)](https://wiki.mymp.gg/en/onClientPlayerVoiceStart.md): Fired on this client when a player starts speaking on voice chat: the local player when they press the talk key, or another player when their voice arrives.
- [isPlayerTalking (Client)](https://wiki.mymp.gg/en/isPlayerTalking-client.md): Tells whether a player is speaking on voice chat, as this client sees it.
