# onClientPlayerVoiceStart (Client)

> 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.

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

## Syntax

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

## Source

The player who started speaking.

Cancelling it for the local player keeps their voice from being sent. Cancelling it for another player makes this client not hear that speech.

## Example

```lua
local muted = {}

addEventHandler("onClientPlayerVoiceStart", root, function()
    if muted[source] then
        cancelEvent()
    end
end)
```

## See also

- [onClientPlayerVoiceStop (Client)](https://wiki.mymp.gg/en/onClientPlayerVoiceStop.md): Fired on this client when a player stops speaking on voice chat.
- [isPlayerTalking (Client)](https://wiki.mymp.gg/en/isPlayerTalking-client.md): Tells whether a player is speaking on voice chat, as this client sees it.
