Difference between revisions of "TActivePlayer.ID"
(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 18: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;