TActivePlayer
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]: Boolean | W |
| property OnFlagGrab: TOnFlagGrabEvent | RW |
| property OnFlagReturn: TOnFlagReturnEvent | RW |
| property OnFlagScore: TOnFlagScoreEvent | RW |
| property OnBeforeRespawn: TOnBeforeRespawnEvent | RW |
| property OnAfterRespawn: TOnAfterRespawnEvent | RW |
| property OnDamage: TOnDamageEvent | RW |
| property OnKill: TOnKillEvent | RW |
| property OnWeaponChange: TOnWeaponChangeEvent | RW |
| property OnVoteMapStart: TOnVoteMapStartEvent | RW |
| property OnVoteKickStart: TOnVoteKickStartEvent | RW |
| property OnVoteMap: TOnVoteMapEvent | RW |
| property OnVoteKick: TOnVoteKick | RW |
| property OnSpeak: TOnSpeakEvent | RW |
| property OnCommand: TOnCommandEvent | RW |