TActivePlayer

From Soldat Community Wiki
Revision as of 18:00, 26 June 2013 by Falcon (talk | contribs) (Members)
Jump to: navigation, search

Inheritance

Description

Represents an active player. Accessible trough Players[] array property.

user constructable: NO
user destructable: NO

Members

Member declarationAccess 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: ByteR
property Team: ByteRW
property Alive: BooleanRW
property Kills: IntegerRW
property Deaths: IntegerR
property Ping: IntegerR
property Active: BooleanR
property IP: stringR
property Port: WordR
property VelX: SingleR
property VelY: SingleR
property Muted: BooleanRW
property Jets: IntegerR
property Grenades: ByteR
property X: SingleR
property Y: SingleR
property Flagger: BooleanR
property Time: IntegerR
property OnGround: BooleanR
property Human: BooleanR
property Direction: ShortintR
property Flags: ByteR
property HWID: stringR
property KeyUp: BooleanR
property KeyLeft: BooleanR
property KeyRight: BooleanR
property KeyShoot: BooleanR
property KeyJetpack: BooleanR
property KeyGrenade: BooleanR
property KeyChangeWeap: BooleanR
property KeyThrow: BooleanR
property KeyReload: BooleanR
property KeyCrouch: BooleanR
property KeyProne: BooleanR
property WeaponActive[ID: Byte]: BooleanW
property OnFlagGrab: TOnFlagGrabRW
property OnFlagReturn: TOnFlagReturnRW
property OnFlagScore: TOnFlagScoreRW
property OnBeforeRespawn: TOnBeforeRespawnRW
property OnAfterRespawn: TOnAfterRespawnRW
property OnDamage: TOnDamageRW
property OnKill: TOnKillRW
property OnWeaponChange: TOnWeaponChangeRW
property OnVoteMapStart: TOnVoteMapStartRW
property OnVoteKickStart: TOnVoteKickStartRW
property OnVoteMap: TOnVoteMapRW
property OnVoteKick: TOnVoteKickRW
property OnSpeak: TOnSpeakRW
property OnCommand: TOnCommandRW