Class ServerPed
Represents a ped from a client
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class ServerPed
Properties
Handle
Pass this as an argument in CustomEvent or NativeCall to convert this object to handle at client side.
Declaration
public Tuple<byte, byte[]> Handle { get; }
Property Value
Type | Description |
---|---|
Tuple<Byte, Byte[]> |
Health
Health
Declaration
public int Health { get; }
Property Value
Type | Description |
---|---|
Int32 |
ID
The ped's network ID (not handle!).
Declaration
public int ID { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsPlayer
Whether this ped is a player.
Declaration
public bool IsPlayer { get; }
Property Value
Type | Description |
---|---|
Boolean |
LastVehicle
The ped's last vehicle.
Declaration
public ServerVehicle LastVehicle { get; }
Property Value
Type | Description |
---|---|
ServerVehicle |
Owner
The Client that is responsible synchronizing for this ped.
Declaration
public Client Owner { get; }
Property Value
Type | Description |
---|---|
Client |
Position
Position of this ped
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
GTA.Math.Vector3 |
Rotation
Gets or sets this ped's rotation
Declaration
public Vector3 Rotation { get; }
Property Value
Type | Description |
---|---|
GTA.Math.Vector3 |