Difference between revisions of "TActivePlayer"
(→Members) |
|||
Line 17: | Line 17: | ||
<tr><th>Member declaration</th><th>Access mode</th></tr> | <tr><th>Member declaration</th><th>Access mode</th></tr> | ||
<tr><td>function [[TActivePlayer.Ban|Ban]](Time: Integer; Reason: string): Boolean</td></tr> | <tr><td>function [[TActivePlayer.Ban|Ban]](Time: Integer; Reason: string): Boolean</td></tr> | ||
+ | <tr><td>function [[TActivePlayer.Kick|Kick]]: Boolean</td></tr> | ||
<tr><td>procedure [[TActivePlayer.Say|Say]](Text: string)</td></tr> | <tr><td>procedure [[TActivePlayer.Say|Say]](Text: string)</td></tr> | ||
<tr><td>procedure [[TActivePlayer.Damage|Damage]](Shooter: Byte; Damage: Integer)</td></tr> | <tr><td>procedure [[TActivePlayer.Damage|Damage]](Shooter: Byte; Damage: Integer)</td></tr> | ||
Line 23: | Line 24: | ||
<tr><td>procedure [[TActivePlayer.Forward|Forward]](TargetIP: string; TargetPort: Word; Message: string)</td></tr> | <tr><td>procedure [[TActivePlayer.Forward|Forward]](TargetIP: string; TargetPort: Word; Message: string)</td></tr> | ||
<tr><td>procedure [[TActivePlayer.GiveBonus|GiveBonus]](BType: Byte)</td></tr> | <tr><td>procedure [[TActivePlayer.GiveBonus|GiveBonus]](BType: Byte)</td></tr> | ||
− | |||
<tr><td>procedure [[TActivePlayer.Move|Move]](X, Y: Single)</td></tr> | <tr><td>procedure [[TActivePlayer.Move|Move]](X, Y: Single)</td></tr> | ||
<tr><td>procedure [[TActivePlayer.Tell|Tell]](Text: string)</td></tr> | <tr><td>procedure [[TActivePlayer.Tell|Tell]](Text: string)</td></tr> |
Revision as of 23:11, 25 June 2013
Inheritance
Description
Represents an active player. Accessible trough Players[] array property.
user constructable: NO
user destructable: NO
Members
Member declaration | Access mode |
---|---|
function Ban(Time: Integer; Reason: string): Boolean | |
function Kick: Boolean | |
procedure Say(Text: string) | |
procedure Damage(Shooter: Byte; Damage: Integer) | |
procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer) | |
procedure ForceWeapon(Primary, Secondary: TWeapon) | |
procedure Forward(TargetIP: string; TargetPort: Word; Message: string) | |
procedure GiveBonus(BType: Byte) | |
procedure Move(X, Y: Single) | |
procedure Tell(Text: string) | |
procedure WriteConsole(Text: string; Color: Longint) | |
property ID: Byte | R |
property Team: Byte | RW |
property Alive: Boolean | RW |
property Kills: Integer | RW |
property Deaths: Integer | R |
property Ping: Integer | R |
property Active: Boolean | R |
property IP: string | R |
property Port: Word | R |
property VelX: Single | R |
property VelY: Single | R |
property Muted: Boolean | RW |
property Jets: Integer | R |
property Grenades: Byte | R |
property X: Single | R |
property Y: Single | R |
property Flagger: Boolean | R |
property Time: Integer | R |
property OnGround: Boolean | R |
property Human: Boolean | R |
property Direction: Shortint | R |
property Flags: Byte | R |
property HWID: string | R |
property KeyUp: Boolean | R |
property KeyLeft: Boolean | R |
property KeyRight: Boolean | R |
property KeyShoot: Boolean | R |
property KeyJetpack: Boolean | R |
property KeyGrenade: Boolean | R |
property KeyChangeWeap: Boolean | R |
property KeyThrow: Boolean | R |
property KeyReload: Boolean | R |
property KeyCrouch: Boolean | R |
property KeyProne: Boolean | R |
property WeaponActive[ID: Byte] | W |
property OnFlagGrab: TOnFlagGrab | RW |
property OnFlagReturn: TOnFlagReturn | RW |
property OnFlagScore: TOnFlagScore | RW |
property OnBeforeRespawn: TOnBeforeRespawn | RW |
property OnAfterRespawn: TOnAfterRespawn | RW |
property OnDamage: TOnDamage | RW |
property OnKill: TOnKill | RW |
property OnWeaponChange: TOnWeaponChange | RW |
property OnVoteMapStart: TOnVoteMapStart | RW |
property OnVoteKickStart: TOnVoteKickStart | RW |
property OnVoteMap: TOnVoteMap | RW |
property OnVoteKick: TOnVoteKick | RW |
property OnSpeak: TOnSpeak | RW |
property OnCommand: TOnCommand | RW |