onClientPlayerVoiceStop
ClientEvent
Fired on this client when a player stops speaking on voice chat.
addEventHandler("onClientPlayerVoiceStop", root, function() … end)
Source
The player who stopped speaking.
It does not fire when that speech's onClientPlayerVoiceStart was cancelled.
Example
local talking = {}
addEventHandler("onClientPlayerVoiceStart", root, function()
talking[source] = true
end)
addEventHandler("onClientPlayerVoiceStop", root, function()
talking[source] = nil
end)