Player Properties |
The Player type exposes the following members.
Name | Description | |
---|---|---|
Angle |
Gets or sets the facing angle of this player.
| |
AnimationIndex |
Gets the index of the animation this player is playing.
| |
Armour |
Gets or sets the armor of this player.
| |
AspectCameraRatio |
Gets the aspect ratio of this player's camera.
| |
BytesReceived |
Get the amount of information (in bytes) that the server has sent to the player.
| |
BytesSent |
Get the amount of information (in bytes) that the server has received from the player.
| |
CameraFrontVector |
Gets the front Vector3 of this player's camera.
| |
CameraMode |
Gets the mode of this player's camera.
| |
CameraPosition |
Gets or sets the position of the camera of this player.
| |
CameraTargetActor |
Gets the GtaPlayer the camera of this player is pointing at.
| |
CameraTargetEntity |
Gets the entity (player, player object, object, vehicle or actor) the camera of this player is pointing at.
| |
CameraTargetGlobalObject |
Gets the GlobalObject the camera of this player is pointing at.
| |
CameraTargetPlayer |
Gets the GtaPlayer the camera of this player is pointing at.
| |
CameraTargetPlayerObject |
Gets the PlayerObject the camera of this player is pointing at.
| |
CameraTargetVehicle |
Gets the GtaVehicle the camera of this player is pointing at.
| |
CameraZoom |
Gets the game camera zoom level for this player.
| |
Color |
Gets or sets the Color of this player.
| |
ConnectedTime |
Gets the amount of time (in milliseconds) that a player has been connected to the server for.
| |
ConnectionStatus |
Get a player's connection status.
| |
DrunkLevel |
Gets or sets the drunkenness level of this player.
| |
EndPoint |
Gets the end point (IP and port) of this player.
| |
Entity |
Gets the entity to which this component has been attached.
(Inherited from Component.) | |
FightStyle |
Gets or sets the FightStyle of this player.
| |
Gpci |
Gets this player's GPCI string.
| |
Health |
Gets or sets the health of this player.
| |
InAnyVehicle |
Gets whether this player is currently in any vehicle.
| |
InCheckpoint |
Gets whether this player is in his checkpoint.
| |
InRaceCheckpoint |
Gets whether this player is in his race-checkpoint.
| |
Interior |
Gets or sets the interior of this player.
| |
Ip |
Gets the IP of this player.
| |
IsAdmin |
Gets whether this player is logged into RCON.
| |
IsAlive |
Gets a value indicating whether this player is alive.
| |
IsComponentAlive |
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.) | |
IsNpc |
Gets whether this player is an actual player or an NPC.
| |
IsSelectingTextDraw |
Gets a value indicating whether this player is selecting a textdraw.
| |
Menu |
Gets the Vehicle this player is currently in.
| |
MessagesReceived |
Gets the number of messages the server has received from the player.
| |
MessagesReceivedPerSecond |
Gets the number of messages the player has received in the last second.
| |
MessagesSent |
Gets the number of messages the server has sent to the player.
| |
Money |
Gets or sets the money of this player.
| |
Name |
Gets or sets the name of this player.
| |
NetworkStats | Obsolete.
Gets this player's network stats and saves them into a string.
| |
PacketLossPercent | Obsolete.
Gets the packet loss percentage of a player. Packet loss means data the player is sending to the server is being
lost (or vice-versa).
| |
Parent |
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.) | |
Ping |
Gets the ping of this player.
| |
Position |
Gets or sets the position of this player.
| |
Rotation |
Gets or sets the rotation of this player.
| |
Score |
Gets or sets the score of this player.
| |
Skin |
Gets or sets the skin of this player.
| |
SpecialAction |
Gets or sets the SpecialAction of this player.
| |
State |
Gets the state of this player.
| |
SurfingEntity |
Gets the entity (object or vehicle) that this player is surfing.
| |
TargetActor |
Gets the Actor this player is aiming at.
| |
TargetPlayer |
Gets the Player this player is aiming at.
| |
Team |
Gets or sets the team this player is in.
| |
Variables |
Gets the PVar variable collection for this player.
| |
Vehicle |
Gets the Vehicle this player is currently in.
| |
VehicleSeat |
Gets the vehicle seat this player sits on.
| |
Velocity |
Gets or sets the velocity of this player.
| |
Version |
Gets this player's game version.
| |
VirtualWorld |
Gets or sets the virtual world of this player.
| |
WantedLevel |
Gets or sets the wanted level of this player.
| |
Weapon |
Gets the Weapon this player is currently holding.
| |
WeaponAmmo |
Gets the ammo of the Weapon this player is currently holding.
| |
WeaponState |
Gets the WeaponState of the Weapon this player is currently holding.
|