WT: Keine Bus-Job Nachricht mehr anzeigen
This commit is contained in:
@@ -420,6 +420,7 @@ namespace ReallifeGamemode.Server.Job
|
||||
//rt.BusLetzterCheckpoint()
|
||||
}
|
||||
}
|
||||
|
||||
[RemoteEvent("BusLetzterCheckpoint")]
|
||||
public static void BusLetzterCheckpoint(Player player)
|
||||
{
|
||||
|
||||
@@ -153,6 +153,7 @@ namespace ReallifeGamemode.Server.Util
|
||||
}
|
||||
//user.TriggerEvent("CLIENT:UnFreezeVehicle", veh);
|
||||
}
|
||||
|
||||
[RemoteEvent("playerInCheckpoint")]
|
||||
public void PlayerInCheckpoint(Player user)
|
||||
{
|
||||
@@ -303,12 +304,12 @@ namespace ReallifeGamemode.Server.Util
|
||||
CheckPointHandle.RemovePlayerHandlerFromList(this.player);
|
||||
DeleteCheckpoints();
|
||||
player.SetData("HatRoute", false);
|
||||
if (player.GetUser().JobId == 3)
|
||||
if (player.GetUser().JobId == 3 && player.HasData("Route"))
|
||||
{
|
||||
//PilotJob.payWage(player, 200);
|
||||
PilotJob.PilotLetzterCheckpoint(player);
|
||||
}
|
||||
if (player.GetUser().JobId == 4)
|
||||
else if (player.GetUser().JobId == 4 && player.HasData("Route"))
|
||||
{
|
||||
//BusDriverJob.payWage(player, 200);
|
||||
//CheckPointHandle.BusCheckpoint(player);
|
||||
|
||||
Reference in New Issue
Block a user