AdminDuty - Fahrzeuge Probleme gefixxt, Busfahrersystem fertiggestellt, Pilotensystem fertiggestellt.
This commit is contained in:
@@ -1308,7 +1308,7 @@ namespace ReallifeGamemode.Database.Migrations
|
|||||||
b.Property<int?>("BankAccountId")
|
b.Property<int?>("BankAccountId")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<int>("BusSkill")
|
b.Property<int?>("BusSkill")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<int?>("BusinessId")
|
b.Property<int?>("BusinessId")
|
||||||
@@ -1374,7 +1374,7 @@ namespace ReallifeGamemode.Database.Migrations
|
|||||||
b.Property<int>("PaydayTimer")
|
b.Property<int>("PaydayTimer")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<int>("PilotSkill")
|
b.Property<int?>("PilotSkill")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<int>("PlayedMinutes")
|
b.Property<int>("PlayedMinutes")
|
||||||
|
|||||||
@@ -31,8 +31,4 @@
|
|||||||
<HintPath>..\Import\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\Import\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Migrations\" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -504,6 +504,9 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
player.SendNotification("~r~Du hast keinen Schlüssel.");
|
player.SendNotification("~r~Du hast keinen Schlüssel.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(player.IsAdminDuty())
|
||||||
|
{
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (u.JobId == 4)
|
if (u.JobId == 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user