SetFilter
This function lets you specify whether individual players should receive voice broadcasting from the player. This can be used to ensure that voice communication is restricted by player teams.
Syntax
- Voice:SetFilter(string steamid, boolean broadcast)
Parameters
- steamid: the Steam ID to set filtering for.
- mode: if set to true voice broadcasting is enabled, otherwise it is blocked for this player.