Restrict Voice Chat? [ ULX? ]

Is there any way to make it so when a player isn’t a certain group they can’t talk while dead?

Example:

Player Dies… he can hear everyone that is alive, but can’t talk while he is dead. As for admins they can talk whether they are alive or dead and can hear the alive players.

If anyone could find a solution to this that would be great!

You would have to modify the way TTT handles voice chat.

The problem would be dealing with Traitor voice, Detective voice and alive/dead voice.

EDIT: aka it can’t be done easily.

OnPlayerDeath and PlayerSpawn hook to take away / give voice chat abilities

Push ! - Im searching the samething ^^