Difference between revisions of "TActivePlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Members: 2.7.8.b1 Events)
(Members: All changes implemented in 2.7.8.b1)
Line 27: Line 27:
 
| procedure [[TActivePlayer.ForceWeapon|ForceWeapon]](Primary, Secondary: [[TWeapon]]) || align="center" |  || align="center" | no
 
| procedure [[TActivePlayer.ForceWeapon|ForceWeapon]](Primary, Secondary: [[TWeapon]]) || align="center" |  || align="center" | no
 
|-
 
|-
| procedure [[TActivePlayer.Forward|Forward]](TargetIP: string; TargetPort: Word; Message: string) || align="center" |  || align="center" | no
+
| procedure [[TActivePlayer.ForwardTo|ForwardTo]](TargetIP: string; TargetPort: Word; Message: string) || align="center" |  || align="center" | no
 
|-
 
|-
 
| procedure [[TActivePlayer.GiveBonus|GiveBonus]](BType: Byte) || align="center" |  || align="center" | no
 
| procedure [[TActivePlayer.GiveBonus|GiveBonus]](BType: Byte) || align="center" |  || align="center" | no
Line 36: Line 36:
 
|-
 
|-
 
| procedure [[TActivePlayer.WriteConsole|WriteConsole]](Text: string; Color: Longint) || align="center" |  || align="center" | no
 
| procedure [[TActivePlayer.WriteConsole|WriteConsole]](Text: string; Color: Longint) || align="center" |  || align="center" | no
 +
|-
 +
| procedure [[TActivePlayer.WorldText|WorldText]](Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale, X, Y: Single) || || || 2.7.8.b1
 +
|-
 +
| procedure [[TActivePlayer.SetVelocity|SetVelocity]](VelX, VelY: Single) || || || 2.7.8.b1
 
|-
 
|-
 
| colspan="3" |  
 
| colspan="3" |  
Line 136: Line 140:
 
|-
 
|-
 
| property [[TActivePlayer.HWID|HWID]]: string || align="center" | R || align="center" | no
 
| property [[TActivePlayer.HWID|HWID]]: string || align="center" | R || align="center" | no
 +
|-
 +
| property [[TActivePlayer.IsAdmin|IsAdmin]]: Boolean || align="center" | RW || align="center" | no || 2.7.8.b1
 
|-
 
|-
 
| property [[TActivePlayer.KeyUp|KeyUp]]: Boolean || align="center" | R || align="center" | no
 
| property [[TActivePlayer.KeyUp|KeyUp]]: Boolean || align="center" | R || align="center" | no

Revision as of 19:30, 3 October 2014

Inheritance

Description

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

user constructable: NO
user destructable: NO

Members

Member declaration Access mode Inherited SS Version
function Ban(Time: Integer; Reason: string): Boolean no
function Kick: Boolean no
procedure Say(Text: string) no
procedure Damage(Shooter: Byte; Damage: Integer) no
procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer) no
procedure ForceWeapon(Primary, Secondary: TWeapon) no
procedure ForwardTo(TargetIP: string; TargetPort: Word; Message: string) no
procedure GiveBonus(BType: Byte) no
procedure Move(X, Y: Single) no
procedure Tell(Text: string) no
procedure WriteConsole(Text: string; Color: Longint) no
procedure WorldText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale, X, Y: Single) 2.7.8.b1
procedure SetVelocity(VelX, VelY: Single) 2.7.8.b1
property Name: string R yes
property Health: string R yes
property Primary: TPlayerWeapon R yes
property Secondary: TPlayerWeapon R yes
property ShirtColor: Longword R yes
property PantsColor: Longword R yes
property SkinColor: Longword R yes
property HairColor: Longword R yes
property FavouriteWeapon: string RW yes
property ChosenSecondaryWeapon: Byte R yes
property Friend: string RW yes
property Accuracy: Byte RW yes
property ShootDead: Boolean RW yes
property GrenadeFrequency: Byte RW yes
property Camping: Boolean RW yes
property OnStartUse: Byte RW yes
property HairStyle: Byte R yes
property Headgear: Byte R yes
property Chain: Byte R yes
property ChatFrequency: Byte RW yes
property ChatKill: string RW yes
property ChatDead: string RW yes
property ChatLowHealth: string RW yes
property ChatSeeEnemy: string RW yes
property ChatWinning: string RW yes
property Dummy: Boolean R yes
property ID: Byte R no
property Team: Byte RW yes (modif.)
property Alive: Boolean RW yes (modif.)
property Kills: Integer RW no
property Deaths: Integer R no
property Ping: Integer R no
property Active: Boolean R no
property IP: string R no
property Port: Word R no
property VelX: Single R no
property VelY: Single R no
property Muted: Boolean RW no
property Jets: Integer R no
property Grenades: Byte R no
property X: Single R no
property Y: Single R no
property Flagger: Boolean R no
property Time: Integer R no
property OnGround: Boolean R no
property Human: Boolean R no
property Direction: Shortint R no
property Flags: Byte R no
property HWID: string R no
property IsAdmin: Boolean RW no 2.7.8.b1
property KeyUp: Boolean R no
property KeyLeft: Boolean R no
property KeyRight: Boolean R no
property KeyShoot: Boolean R no
property KeyJetpack: Boolean R no
property KeyGrenade: Boolean R no
property KeyChangeWeap: Boolean R no
property KeyThrow: Boolean R no
property KeyReload: Boolean R no
property KeyCrouch: Boolean R no
property KeyProne: Boolean R no
property WeaponActive[ID: Byte]: Boolean W no
property OnFlagGrab: TOnFlagGrabEvent RW no
property OnFlagReturn: TOnFlagReturnEvent RW no
property OnFlagScore: TOnFlagScoreEvent RW no
property OnBeforeRespawn: TOnBeforeRespawnEvent RW no
property OnAfterRespawn: TOnAfterRespawnEvent RW no
property OnDamage: TOnDamageEvent RW no
property OnKill: TOnKillEvent RW no
property OnWeaponChange: TOnWeaponChangeEvent RW no
property OnVoteMapStart: TOnVoteMapStartEvent RW no
property OnVoteKickStart: TOnVoteKickStartEvent RW no
property OnVoteMap: TOnVoteMapEvent RW no
property OnVoteKick: TOnVoteKickEvent RW no
property OnSpeak: TOnSpeakEvent RW no
property OnCommand: TOnCommandEvent RW no
property OnKitPickup: TOnKitPickupEvent RW no 2.7.8.b1
property OnFlagDrop: TOnFlagDropEvent RW no 2.7.8.b1