OnPlayerVoiceStop
onPlayerVoiceStop
Compatibility alias triggered when a player's active voice transmission ends.
Availability
This event is available in server-side scripts.
Callback signature
onPlayerVoiceStop(playerId)
Parameters
| Name | Type | Description |
|---|---|---|
playerId |
int |
The player that stopped transmitting voice. |
Examples
Handle the event:
addEventHandler("onPlayerVoiceStop", root, function(playerId)
outputDebugString(getPlayerName(playerId) .. " stopped talking")
end)
Notes
- This event mirrors
onPlayerStopTalking. New resources may use either name.