Difference between revisions of "TActivePlayer.Muted"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property TActivePlayer.Muted: Boolean''''' Access mode: RW ==Description== If a player is muted or not.<br> Can also set a player's mute state to true/false. ==Exampl...")
 
(No difference)

Latest revision as of 22:34, 30 June 2013

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.