VegaZ
2021-04-17 18:54:53 +02:00
parent 3d249c3006
commit 735ff66fb4
3 changed files with 16 additions and 1 deletions

View File

@@ -511,7 +511,7 @@ namespace ReallifeGamemode.Server.Events
{
player.SendNotification("~r~Im Dienst kannst du keine Kleidung kaufen", false);
return;
}
}
nearestClotheShopPoint.clotheShop.LoadShopNUI(player);
}
if (nearestItemShopPoint != null)
@@ -562,6 +562,11 @@ namespace ReallifeGamemode.Server.Events
player.SendNotification("~r~Im Dienst kannst du keinen Job ausführen", false);
return;
}
if (user.Wanteds > 0)
{
player.SendNotification("~r~Mit Wanteds kannst du keinen Job starten", false);
return;
}
if (player.GetUser().JobId == 3)
{
if (nearestJobPoint.Skill > user.PilotSkill)