TPlayer.Alive

From Soldat Community Wiki
Revision as of 18:34, 10 September 2013 by Mighty (talk | contribs) (Added bug notification)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property Alive: Boolean
 Access mode: R

Description

True if a player is currently alive, false otherwise.

Bug: (#396) Setting Alive to FALSE freezes the server

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;