Difference between revisions of "TActivePlayer.ID"

From Soldat Community Wiki
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
 
  '''''property TActivePlayer.ID: Byte'''''
 
  '''''property TActivePlayer.ID: Byte'''''
   Acess mode: R
+
   Access mode: R
 
==Description==
 
==Description==
 
Number representing the current ID of a player.
 
Number representing the current ID of a player.

Latest revision as of 20:40, 26 June 2013

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;