GM:PlayerCanHearPlayersVoice
Description
Decides whether a player can hear another player using voice chat.
This hook is called players count * speaking players count times every 0.3 seconds if at least 1 player is talking or every 5 seconds if no one is talking.
You should ensure that your code is efficient, or this will definitely influence performance.
Garry's Mod
Rust
Steamworks
Wiki Help