TPlayers.Player

From Soldat Community Wiki
Revision as of 08:54, 25 July 2013 by Mighty (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property Player[i: Byte]: TActivePlayer
 i: ID of a player. 1-32
 Access mode: R

Description

An Array representing players in game

Example

 var
  i: byte;
 begin
  for i := 1 to 32 do if Players.Player[i].Team = 5 then
   Players.Player[i].WriteConsole('Stop occupying player slots!',$FF0000); //sends a message to all spectators
 end;