Wanted Restriktionen https://life-of-german.org/bugtracker/bug/19-restriktionen-von-spielern/
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user