Code formatiert
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user