TActivePlayer.Alive

From Soldat Community Wiki
Revision as of 00:23, 1 July 2013 by Squiddy (talk | contribs) (Description)
Jump to: navigation, search
property TActivePlayer.Alive: Boolean
 Access mode: RW

Description

If a player is alive or not.

Example

 var i: byte;
 begin
  for i := 1 to 32 do begin
    if Players[i].Alive then
      Players[i].Alive := False // causes player to die
    else
      Players[i].Alive := True; // causes player to respawn
   end;
 end;