Code formatiert
This commit is contained in:
@@ -82,10 +82,10 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
}.AsReadOnly();
|
||||
private readonly IReadOnlyCollection<Vector3> StopCar = new List<Vector3>
|
||||
{
|
||||
new Vector3(-788.66, -1278.75, 4),
|
||||
new Vector3(-788.66, -1278.75, 4),
|
||||
}.AsReadOnly();
|
||||
|
||||
|
||||
|
||||
public static void Setup()
|
||||
{
|
||||
informationLabel = NAPI.TextLabel.CreateTextLabel("Fahrschule\n~y~Auto ~s~- $~g~2500\n~y~Motorrad ~s~- $~g~3500", new Vector3(-813.17, -1354.5, 5.14), 20.0f, 1.3f, 0, new Color(255, 255, 255));
|
||||
@@ -148,7 +148,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
user.TriggerEvent("stopTimer");
|
||||
CheckPointHandle.StartCheckPointRoute(user, DrivingRoute, 0, 1, 7, "drivingSchoolEvent");
|
||||
}
|
||||
if(schoolVehicle.SchoolId == 2 && user.IsInVehicle)
|
||||
if (schoolVehicle.SchoolId == 2 && user.IsInVehicle)
|
||||
{
|
||||
user.TriggerEvent("renderTextOnScreen", "Gut nun kann die Prüfung losgehen.");
|
||||
user.TriggerEvent("stopTimer");
|
||||
@@ -202,7 +202,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
{
|
||||
user.TriggerEvent("renderTextOnScreen", "Parke nun das Auto an der markierten Stelle.");
|
||||
CheckPointHandle.StartCheckPointRoute(user, StopCar, 5000, 1, 7, "drivingSchoolEventEnd");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user