TActivePlayer.Alive

From Soldat Community Wiki
Revision as of 22:04, 26 June 2013 by Falcon (talk | contribs) (Example)
Jump to: navigation, search
property TActivePlayer.Alive: Boolean
 Access mode: RW

Description

Wether 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;