Voice chat

Hi. I tried to write a script that only one person could speak in a voice chat. But at me didn’t leave.
Help me please. What it is necessary to use?


hook.Add("PlayerCanHearPlayersVoice","SomeNameHere",function(listener,talker )
	
	if talker:SteamID() == "Your steam id here" then
		return true
	else
		return false
	end

end)

not tested

Thanks you suggested me idea