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

    CreateBlip(Vector3, Int32)

    Create a static ServerBlip owned by server.

    Declaration
    public ServerBlip CreateBlip(Vector3 pos, int rotation)
    Parameters
    Type Name Description
    GTA.Math.Vector3 pos
    Int32 rotation
    Returns
    Type Description
    ServerBlip

    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

    GetAllBlips()

    Get all static objects owned by server

    Declaration
    public ServerBlip[] GetAllBlips()
    Returns
    Type Description
    ServerBlip[]

    GetAllPeds()

    Get all peds on this server

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

    GetAllProps()

    Get all static prop objects owned by server

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

    GetAllVehicles()

    Get all vehicles on this server

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

    GetBlipByID(Int32)

    Get a ServerBlip by it's id.

    Declaration
    public ServerBlip GetBlipByID(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    ServerBlip

    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