Class ServerEntities
Manipulate entities from the server
Inheritance
ServerEntities
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
GetAllPeds()
Get all peds on this server
Declaration
public ServerPed[] GetAllPeds()
Returns
GetAllProps()
Get all static objects owned by server
Declaration
public ServerProp[] GetAllProps()
Returns
GetAllVehicle()
Get all vehicles on this server
Declaration
public ServerVehicle[] GetAllVehicle()
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