Ejemplo n.º 1
0
 /// <summary>
 /// Create a vehicle using all createVehicle arguments
 /// </summary>
 public Vehicle(BaseVehicleModel model, Vector3 position, Vector3 rotation, string numberplate = "", int variant1 = 1, int variant2 = 1)
     : this(MtaShared.CreateVehicle(model.ID, position.X, position.Y, position.Z, rotation.X, rotation.Y, rotation.Z, numberplate, false, variant1, variant2))
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a vehicle from a model at a position
 /// </summary>
 public Vehicle(BaseVehicleModel model, Vector3 position)
     : this(model, position, Vector3.Zero)
 {
 }