ja
This commit is contained in:
@@ -131,25 +131,30 @@ namespace ReallifeGamemode.Server.Job
|
||||
{
|
||||
if (type == "Kurz 1")
|
||||
{
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route1, 3000, 1, 7, "");
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route1, 3000, 1, 7, "busDriverJob");
|
||||
}
|
||||
else if (type == "Kurz 2")
|
||||
{
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route2, 3000, 1, 7, "");
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route2, 3000, 1, 7, "busDriverJob");
|
||||
}
|
||||
else if (type == "Mittel 1")
|
||||
{
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route3, 3000, 1, 7, "");
|
||||
CheckPointHandle.StartCheckPointRoute(player, Route3, 3000, 1, 7, "busDriverJob");
|
||||
}
|
||||
else if (type == "Lang 1")
|
||||
{
|
||||
CheckPointHandle.StartCheckPointRoute(player, RouteLong, 3000, 1, 7, "");
|
||||
CheckPointHandle.StartCheckPointRoute(player, RouteLong, 3000, 1, 7, "busDriverJob");
|
||||
}
|
||||
else if (type == "Lang 2")
|
||||
{
|
||||
CheckPointHandle.StartCheckPointRoute(player, RouteVeryLong, 3000, 1, 7, "");
|
||||
CheckPointHandle.StartCheckPointRoute(player, RouteVeryLong, 3000, 1, 7, "busDriverJob");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void payWage(Client jobber, int wage)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,11 @@ namespace ReallifeGamemode.Server.Util
|
||||
if (this.list.Count() == checkPointsDone)
|
||||
{
|
||||
CheckPointHandle.RemovePlayerHandlerFromList(this.player);
|
||||
|
||||
if (this.eventInCheckpoint == "busDriverJob")
|
||||
{
|
||||
Job.BusDriverJob.payWage(this.player, 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user