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...")
(No difference)

Revision as of 17:27, 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;