TActivePlayer.Alive

From Soldat Community Wiki
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
    Players[i].Alive := not Players[i].Alive; // causes player to die if alive, and respawn if dead
 end;