AdminDuty - Fahrzeuge Probleme gefixxt, Busfahrersystem fertiggestellt, Pilotensystem fertiggestellt.

This commit is contained in:
Mac_Slash
2020-04-28 18:48:16 +02:00
parent 59b7178590
commit d7f45de417
3 changed files with 5 additions and 6 deletions

View File

@@ -1308,7 +1308,7 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int?>("BankAccountId")
.HasColumnType("int");
b.Property<int>("BusSkill")
b.Property<int?>("BusSkill")
.HasColumnType("int");
b.Property<int?>("BusinessId")
@@ -1374,7 +1374,7 @@ namespace ReallifeGamemode.Database.Migrations
b.Property<int>("PaydayTimer")
.HasColumnType("int");
b.Property<int>("PilotSkill")
b.Property<int?>("PilotSkill")
.HasColumnType("int");
b.Property<int>("PlayedMinutes")

View File

@@ -31,8 +31,4 @@
<HintPath>..\Import\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
</Project>

View File

@@ -504,6 +504,9 @@ namespace ReallifeGamemode.Server.Events
player.SendNotification("~r~Du hast keinen Schlüssel.");
return;
}
if(player.IsAdminDuty())
{
}
else
{
if (u.JobId == 4)