Class ServerProp
Represents an prop owned by server.
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class ServerProp
Properties
Handle
Pass this as an argument in CustomEvent or NativeCall to convert this object to handle at client side.
Declaration
public Tuple<byte, byte[]> Handle { get; }
Property Value
Type | Description |
---|---|
Tuple<Byte, Byte[]> |
ID
Network ID of this object.
Declaration
public int ID { get; }
Property Value
Type | Description |
---|---|
Int32 |
Model
The object's model
Declaration
public Model Model { get; }
Property Value
Type | Description |
---|---|
GTA.Model |
Position
Gets or sets this object's position
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
GTA.Math.Vector3 |
Rotation
Gets or sets this object's rotation
Declaration
public Vector3 Rotation { get; set; }
Property Value
Type | Description |
---|---|
GTA.Math.Vector3 |
Methods
Delete()
Delete this prop
Declaration
public void Delete()