Class ServerEntities
Manipulate entities from the server
Inheritance
ServerEntities
Assembly: RageCoop.Server.dll
Syntax
public class ServerEntities
Methods
CreateBlip(Vector3, Int32)
Declaration
public ServerBlip CreateBlip(Vector3 pos, int rotation)
Parameters
Returns
CreateProp(Model, Vector3, Vector3)
Create a static prop owned by server.
Declaration
public ServerProp CreateProp(Model model, Vector3 pos, Vector3 rot)
Parameters
Returns
CreateVehicle(Client, Model, Vector3, Single)
Declaration
public ServerVehicle CreateVehicle(Client owner, Model model, Vector3 pos, float heading)
Parameters
Type |
Name |
Description |
Client |
owner |
Owner of this vehicle
|
Model |
model |
model
|
Vector3 |
pos |
position
|
Single |
heading |
heading of this vehicle
|
Returns
GetAllBlips()
Get all blips owned by server
Declaration
public ServerBlip[] GetAllBlips()
Returns
GetAllPeds()
Get all peds on this server
Declaration
public ServerPed[] GetAllPeds()
Returns
GetAllProps()
Get all static prop objects owned by server
Declaration
public ServerProp[] GetAllProps()
Returns
GetAllVehicles()
Get all vehicles on this server
Declaration
public ServerVehicle[] GetAllVehicles()
Returns
GetBlipByID(Int32)
Declaration
public ServerBlip GetBlipByID(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
GetPedByID(Int32)
Declaration
public ServerPed GetPedByID(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
GetPropByID(Int32)
Declaration
public ServerProp GetPropByID(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
GetVehicleByID(Int32)
Declaration
public ServerVehicle GetVehicleByID(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns