Code formatiert

This commit is contained in:
Lennart Kampshoff
2019-12-21 14:03:06 +01:00
parent c5f72c2ce5
commit ed95acc24d
56 changed files with 1771 additions and 1764 deletions

View File

@@ -72,7 +72,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
public void StartplaneSchool(Client client)
{
User user = client.GetUser();
if (user.FlyingLicensePlane || client.HasData("ActiveSchool"))
return;
@@ -101,7 +101,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
if (veh.GetServerVehicle() is SchoolVehicle schoolVehicle)
{
if(schoolVehicle.SchoolId == 1)
if (schoolVehicle.SchoolId == 1)
{
user.TriggerEvent("renderTextOnScreen", "Fahren Sie langsam und sicher zur Roten Markierung.");
user.TriggerEvent("stopTimer");
@@ -178,10 +178,10 @@ namespace ReallifeGamemode.Server.DrivingSchool
CheckPointHandle.StartCheckPointRoute(user, planeRouteEnd, 5000, 6, 12, "planeSchoolEventEnd");
break;
}
}
}
}