Difference between revisions of "TPlayers"

From Soldat Community Wiki
Jump to: navigation, search
m (Description)
m (Description)
Line 5: Line 5:
 
Allows interaction with players and provides some identification functions
 
Allows interaction with players and provides some identification functions
  
  '''This class is assigned to global variable "Players"'''
+
  '''This class is assigned to global variable "[[Global_Variables.Players|Players]]"'''
  
 
  user constructable: '''NO'''
 
  user constructable: '''NO'''

Revision as of 11:59, 22 August 2013

Inheritance

Description

Allows interaction with players and provides some identification functions

This class is assigned to global variable "Players"
user constructable: NO
user destructable:  NO

Members

Member declaration Access mode
function Add(Player: TNewPlayer): TActivePlayer
procedure WriteConsole(Text: string; Color: Longint)
procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer)
function GetByName(Name: string): TActivePlayer
function GetByIP(IP: string): TActivePlayer
procedure Tell(Text: string)
property Player[i: Byte]: TActivePlayer R default