Difference between revisions of "TActivePlayer.ID"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property TActivePlayer.ID: Byte''''' Acess mode: R ==Description== Number representing the current ID of a player. == Example == <syntaxhighlight lang="pascal"> proc...")
 
 
(One intermediate revision by the same user not shown)
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.
Line 11: Line 11:
 
  end;
 
  end;
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
[[Category:TActivePlayer]]

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;