Fix engine

This commit is contained in:
hydrant
2020-03-12 20:23:49 +01:00
parent 5e3bc39275
commit 0492f32160
2 changed files with 2 additions and 1 deletions

View File

@@ -1220,7 +1220,7 @@ namespace ReallifeGamemode.Server.Commands
return;
}
Vehicle v = NAPI.Vehicle.CreateVehicle(uHash, player.Position, player.Rotation.Z, color1, color2, engine: false);
Vehicle v = NAPI.Vehicle.CreateVehicle(uHash, player.Position, player.Rotation.Z, color1, color2, engine: true);
VehicleStreaming.SetEngineState(v, true);
VehicleStreaming.SetLockStatus(v, false);
player.SetIntoVehicle(v.Handle, -1);