Class ServerVehicle
Represents a vehicle from a client
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class ServerVehicle
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
The vehicle's network ID (not handle!).
Declaration
public int ID { get; }
Property Value
Type | Description |
---|---|
Int32 |
Owner
The Client that is responsible synchronizing for this vehicle.
Declaration
public Client Owner { get; }
Property Value
Type | Description |
---|---|
Client |
Position
Position of this vehicle
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
GTA.Math.Vector3 |
Quaternion
Gets or sets this vehicle's quaternion
Declaration
public Quaternion Quaternion { get; }
Property Value
Type | Description |
---|---|
GTA.Math.Quaternion |