GetPlayerVoiceMutes
The players one player muted for themselves.
Their pids, lowest first - to save in OnPlayerDisconnect (they are still listed there) and set again with
SetPlayerVoiceMutedFor at the next join. A player who left is no longer in anyone’s list.
Syntax
Section titled “Syntax”GetPlayerVoiceMutes(listener)| Parameter | Type | |
|---|---|---|
listener |
number | the player |
Returns
Section titled “Returns”{pid, ...}; {} when they hear everyone
Example
Section titled “Example”local muted = GetPlayerVoiceMutes(pid)SendClientMessage(pid, COLOR_WHITE, #muted .. " players muted")See also
Section titled “See also”SetPlayerVoiceMutedFor · IsPlayerVoiceMutedFor · OnPlayerVoiceMute · the Voice chat group of the index
