diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index f70570b9..11ab0d76 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -3914,7 +3914,7 @@ namespace ReallifeGamemode.Server.Commands if (!player.IsInVehicle) { - ChatService.ErrorMessage(player, "Du sitzt nicht in einem Fahrzeug"); + ChatService.ErrorMessage(player, "Du sitzt in keinem Fahrzeug"); return; } @@ -3939,6 +3939,11 @@ namespace ReallifeGamemode.Server.Commands oldPrice = factionVehicle.BuyPrice; factionVehicle.BuyPrice = price; } + else if (serverVehicle is ShopVehicle shopVehicle) + { + oldPrice = shopVehicle.Price; + shopVehicle.Price = price; + } else { ChatService.ErrorMessage(player, "Dieses Fahrzeug ist weder ein User- noch ein Fraktionsfahrzeug");