fix bus and pilot
This commit is contained in:
@@ -449,6 +449,7 @@ namespace ReallifeGamemode.Server.Job
|
||||
else if (type == PROFESSIONAL)
|
||||
playerRoutePair3.Remove(player.Name);
|
||||
|
||||
playerRouteCurrent.Remove(player.Name);
|
||||
BusDriverJob job = JobManager.GetJob<BusDriverJob>();
|
||||
StartBusRoute(player, type);
|
||||
}, delayTime: 10000);
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace ReallifeGamemode.Server.Job
|
||||
private static readonly List<Player> jobPlayer = new List<Player>();
|
||||
|
||||
public static Dictionary<Player, Vehicle> playerVehiclePair = new Dictionary<Player, Vehicle>();
|
||||
public static List<Player>
|
||||
|
||||
public abstract int Id { get; }
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ namespace ReallifeGamemode.Server.Job
|
||||
public const string INTERMEDIATE = "Fortgeschrittener";
|
||||
public const string PROFESSIONAL = "Profi";
|
||||
|
||||
public const int WAGE_BEGINNER = 350;
|
||||
public const int WAGE_INTERMEDIATE = 500;
|
||||
public const int WAGE_BEGINNER = 300;
|
||||
public const int WAGE_INTERMEDIATE = 750;
|
||||
|
||||
public const uint VEHICLE_BEGINNER = (uint)VehicleHash.Cuban800;
|
||||
public const uint VEHICLE_INTERMEDIATE = (uint)VehicleHash.Velum2;
|
||||
@@ -275,6 +275,8 @@ namespace ReallifeGamemode.Server.Job
|
||||
return;
|
||||
}
|
||||
|
||||
playerRouteCurrent.Remove(player.Name);
|
||||
|
||||
StartPilotRoute(player, skill);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user