diff --git a/ReallifeGamemode.Server/Events/EnterVehicleAttempt.cs b/ReallifeGamemode.Server/Events/EnterVehicleAttempt.cs index 2ac91954..4d74cd5d 100644 --- a/ReallifeGamemode.Server/Events/EnterVehicleAttempt.cs +++ b/ReallifeGamemode.Server/Events/EnterVehicleAttempt.cs @@ -38,7 +38,7 @@ namespace ReallifeGamemode.Server.Events return; } player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!", true); + NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!"); return; } } @@ -47,7 +47,7 @@ namespace ReallifeGamemode.Server.Events if (jveh.JobId != player.GetUser().JobId && !(u.IsAdmin(AdminLevel.HEADADMIN) && player.IsAdminDuty())) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!", true); + NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!"); return; } else if (u.IsAdmin(AdminLevel.HEADADMIN) && player.IsAdminDuty()) @@ -90,13 +90,13 @@ namespace ReallifeGamemode.Server.Events if (!player.HasData("ActiveSchool") && !(u.IsAdmin(AdminLevel.HEADADMIN) && player.IsAdminDuty())) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!", true); + NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!"); return; } if (sVeh.SchoolId != player.GetData("ActiveSchool")) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!", true); + NotificationService.SendErrorNotification(player, "Du darfst dieses Fahrzeug nicht benutzen!"); return; } } @@ -107,7 +107,7 @@ namespace ReallifeGamemode.Server.Events if (player.GetUser().PlayedMinutes > 1800) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!", true); + NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!"); return; } } @@ -122,13 +122,13 @@ namespace ReallifeGamemode.Server.Events if (player.GetUser().PlayedMinutes > 1800) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!", true); + NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!"); return; } if (player.GetData("HatNoobSpawnVehicle") == true) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du hast bereits einen Roller!", true); + NotificationService.SendErrorNotification(player, "Du hast bereits einen Roller!"); return; } else @@ -224,7 +224,7 @@ namespace ReallifeGamemode.Server.Events if (player.GetUser().PlayedMinutes > 1800) { player.StopAnimation(); - NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!", true); + NotificationService.SendErrorNotification(player, "Du hast schon über 30 Spielstunden!"); return; } else diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index 1f157201..54cdae6c 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -1044,7 +1044,7 @@ namespace ReallifeGamemode.Server.Events if (NAPI.Entity.GetEntityVelocity(v).Length() > 1 && v.Class != 16) { - NotificationService.SendErrorNotification(player, "Der Motor kann nur im Stand betätigt werden", true); + NotificationService.SendErrorNotification(player, "Der Motor kann nur im Stand betätigt werden"); return; } diff --git a/ReallifeGamemode.Server/Events/Vehicle.cs b/ReallifeGamemode.Server/Events/Vehicle.cs index 413e6ac7..36533ad6 100644 --- a/ReallifeGamemode.Server/Events/Vehicle.cs +++ b/ReallifeGamemode.Server/Events/Vehicle.cs @@ -31,7 +31,7 @@ namespace ReallifeGamemode.Server.Events if (NAPI.Entity.GetEntityVelocity(v).Length() > 1 && v.Class != 16) { - NotificationService.SendErrorNotification(player, "Der Motor kann nur im Stand betätigt werden", true); + NotificationService.SendErrorNotification(player, "Der Motor kann nur im Stand betätigt werden"); return; }