TActivePlayer

From Soldat Community Wiki
Revision as of 07:13, 25 July 2013 by Mighty (talk | contribs) (Description)
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: TOnFlagGrabEventRW
property OnFlagReturn: TOnFlagReturnEventRW
property OnFlagScore: TOnFlagScoreEventRW
property OnBeforeRespawn: TOnBeforeRespawnEventRW
property OnAfterRespawn: TOnAfterRespawnEventRW
property OnDamage: TOnDamageEventRW
property OnKill: TOnKillEventRW
property OnWeaponChange: TOnWeaponChangeEventRW
property OnVoteMapStart: TOnVoteMapStartEventRW
property OnVoteKickStart: TOnVoteKickStartEventRW
property OnVoteMap: TOnVoteMapEventRW
property OnVoteKick: TOnVoteKickRW
property OnSpeak: TOnSpeakEventRW
property OnCommand: TOnCommandEventRW