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...")
 
(Example)
Line 11: Line 11:
 
  end;
 
  end;
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
[[Category:TActivePlayer]]

Revision as of 19:40, 26 June 2013

property TActivePlayer.ID: Byte
 Acess 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;