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
Type |
Name |
Description |
GTA.Math.Vector3 |
pos |
|
Int32 |
rotation |
|
Returns
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
GetAllBlips()
Get all static objects 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