SetPlayerVoiceDeaf
The player hears nobody while deaf.
Nothing is relayed to them; they may still speak. A dead player in a round, a spectator, a penalty.
Syntax
Section titled “Syntax”SetPlayerVoiceDeaf(pid, deaf)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
deaf |
boolean | true deafens, false restores their hearing |
Returns
Section titled “Returns”boolean: false for an unknown player
See also
Section titled “See also”IsPlayerVoiceDeaf · SetPlayerVoiceMuted · the Voice chat group of the index
