TActivePlayer.Muted

From Soldat Community Wiki
Revision as of 23:34, 30 June 2013 by Squiddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.