OnPlayerStopTalking
Jump to navigation
Jump to search
onPlayerStopTalking
Triggered when an active player voice transmission ends or times out.
Availability
This event is available in server-side scripts.
Callback signature
onPlayerStopTalking(playerId)
Parameters
| Name | Type | Description |
|---|---|---|
playerId |
int |
The player that stopped transmitting voice. |
Examples
Handle the event:
addEventHandler("onPlayerStopTalking", root, function(playerId)
outputDebugString(getPlayerName(playerId) .. " stopped talking")
end)
Notes
- This is emitted for normal release and for authoritative termination such as mute, disable, disconnect, or activity timeout.
- The compatibility alias
onPlayerVoiceStopis emitted for the same transition.