Difference between revisions of "TActivePlayer.Alive"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property TActivePlayer.Alive: Boolean''''' Acess mode: RW ==Description== Wether a player is alive or not. ==Example== <syntaxhighlight lang="pascal"> var i: byte; ...")
 
Line 1: Line 1:
 
  '''''property TActivePlayer.Alive: Boolean'''''
 
  '''''property TActivePlayer.Alive: Boolean'''''
   Acess mode: RW
+
   Access mode: RW
 
==Description==
 
==Description==
 
Wether a player is alive or not.
 
Wether a player is alive or not.

Revision as of 20:41, 26 June 2013

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 if Players[i].Alive then
   Players[i].Damage(i,4000); //kills all alive players
 end;