TActivePlayer.Active

From Soldat Community Wiki
Revision as of 20:34, 26 June 2013 by Squiddy (talk | contribs) (Created page with " '''''property TActivePlayer.Alive: Boolean''''' Acess mode: R ==Description== If the player (or bot) is playing, returns true. ==Example== <syntaxhighlight lang="pascal"> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property TActivePlayer.Alive: Boolean
 Acess mode: R

Description

If the player (or bot) is playing, returns true.

Example

var i: byte;
begin
 for i := 1 to 32 do if Players[i].Active then Players[i].WriteConsole('I can see you.',$FFFFFF);
end;