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; ...")
(No difference)

Revision as of 17:49, 26 June 2013

property TActivePlayer.Alive: Boolean
 Acess 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;