TActivePlayer.Alive

From Soldat Community Wiki
Revision as of 19:49, 26 June 2013 by Squiddy (talk | contribs) (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; ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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;