TPlayers.Active
Revision as of 23:14, 6 May 2020 by H (talk | contribs) (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...")
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;