Search Results for

    Show / Hide Table of Contents

    Class ServerPed

    Represents a ped from a client

    Inheritance
    Object
    ServerPed
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: RageCoop.Server
    Assembly: RageCoop.Server.dll
    Syntax
    public class ServerPed

    Properties

    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
    In This Article
    Back to top Generated by DocFX