veh command heading
This commit is contained in:
@@ -1578,7 +1578,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Vehicle v = NAPI.Vehicle.CreateVehicle(uHash, player.Position, player.Rotation.Z, color1, color2, engine: true);
|
Vehicle v = NAPI.Vehicle.CreateVehicle(uHash, player.Position, player.Heading, color1, color2, engine: true);
|
||||||
VehicleStreaming.SetEngineState(v, true);
|
VehicleStreaming.SetEngineState(v, true);
|
||||||
VehicleStreaming.SetLockStatus(v, false);
|
VehicleStreaming.SetLockStatus(v, false);
|
||||||
player.SetIntoVehicle(v.Handle, 0);
|
player.SetIntoVehicle(v.Handle, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user