Difference between revisions of "TActivePlayer.Active"
(→Example) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | '''''property TActivePlayer. | + | '''''property TActivePlayer.Active: Boolean''''' |
− | + | Access mode: R | |
==Description== | ==Description== | ||
If the player (or bot) is playing, returns true. | If the player (or bot) is playing, returns true. |
Latest revision as of 14:20, 1 July 2013
property TActivePlayer.Active: Boolean Access 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); //sends a message to all active players
end;