Difference between revisions of "TPlayers.Active"
(Created page with " '''''property Active[i: Byte]: TActivePlayer''''' i: ID of a player. '''0'''-31 Access mode: R ==Description== An Array representing ACTIVE players in game<br> ==Exa...") |
(No difference)
|
Latest revision as of 00:14, 7 May 2020
property Active[i: Byte]: TActivePlayer i: ID of a player. 0-31 Access mode: R
Description
An Array representing ACTIVE players in game
Example
var
i: byte;
begin
for i := 0 to Players.Active.Count - 1 do begin
Players.WriteConsole('Nick: '+Players.Active[i].Name+', ID: '+inttostr(Players.Active[i].ID), $FFFFFF);
WriteLn('Nick: '+Players.Active[i].Name+', ID: '+inttostr(Players.Active[i].ID));
end;
end;