Difference between revisions of "TPlayer.Alive"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
(No difference)

Revision as of 11:53, 29 July 2013

property Alive: Boolean
 Access mode: R

Description

True if a player is currently alive, false otherwise.

Example

Example kills all players that are alive

 var
  i: Byte;
 begin
  for i := 1 to 32 do if Players[i].Alive then
   Players[i].Alive := FALSE;
 end;