Player Microphone Manipulation (Volume)

Hey, was wondering if it’s possible to change the volume of certain players in Gmod, using a hook or something. Was planning to have a clientside option in a Jailbreak server that makes the warden have a teamspeak-esque “Priority Speaker” that makes them louder than other players.

Not that I know of, all I could think of doing would be using

GM/PlayerCanHearPlayersVoice and muting everyone but the warden.

In the PlayerCanHearPlayersVoice hook, “return true, true” for everyone but the warden when the warden starts speaking and other players will have their voice faded depending on how far they are. A way to manually change the volume would be nice though.

These are both good suggestions, thank you, I guess it’s just not possible with lua

svn://svn.metastruct.org/gbins/
or https://forums.alliedmods.net/showthread.php?t=189527
autogain