TActivePlayer.Muted

From Soldat Community Wiki
Jump to: navigation, search
property TActivePlayer.Muted: Boolean
 Access mode: RW

Description

If a player is muted or not.
Can also set a player's mute state to true/false.

Example

var i: byte;
begin
  for i := 1 to 32 do if Players[i].Active then
    Players[i].Muted := Not Players[i].Muted; //sets all muted players to non-muted and vice versa.