TPlayer.Alive

From Soldat Community Wiki
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;