TActivePlayer.ID

From Soldat Community Wiki
Jump to: navigation, search
property TActivePlayer.ID: Byte
 Access mode: R

Description

Number representing the current ID of a player.

Example

 procedure OnJoin(Player: TActivePlayer; Team: TTeam);
 begin
  writeLn('Player with ID ' + inttostr(Player.ID) + ' just joined!');
 end;