Search Results for

    Show / Hide Table of Contents

    Class ServerEntities

    Manipulate entities from the server

    Inheritance
    Object
    ServerEntities
    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 ServerEntities

    Methods

    CreateProp(Model, Vector3, Vector3)

    Create a static prop owned by server.

    Declaration
    public ServerProp CreateProp(Model model, Vector3 pos, Vector3 rot)
    Parameters
    Type Name Description
    GTA.Model model
    GTA.Math.Vector3 pos
    GTA.Math.Vector3 rot
    Returns
    Type Description
    ServerProp

    GetAllPeds()

    Get all peds on this server

    Declaration
    public ServerPed[] GetAllPeds()
    Returns
    Type Description
    ServerPed[]

    GetAllProps()

    Get all static objects owned by server

    Declaration
    public ServerProp[] GetAllProps()
    Returns
    Type Description
    ServerProp[]

    GetAllVehicle()

    Get all vehicles on this server

    Declaration
    public ServerVehicle[] GetAllVehicle()
    Returns
    Type Description
    ServerVehicle[]

    GetPedByID(Int32)

    Get a ServerPed by it's id

    Declaration
    public ServerPed GetPedByID(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    ServerPed

    GetPropByID(Int32)

    Get a ServerProp owned by server from it's ID.

    Declaration
    public ServerProp GetPropByID(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    ServerProp

    GetVehicleByID(Int32)

    Get a ServerVehicle by it's id

    Declaration
    public ServerVehicle GetVehicleByID(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    ServerVehicle
    In This Article
    Back to top Generated by DocFX