From 59f7c99c9fb48ce67fe81c9e07b2862e33a3cf47 Mon Sep 17 00:00:00 2001 From: hydrant Date: Tue, 5 May 2020 21:08:13 +0200 Subject: [PATCH] haus id in textlabel --- ReallifeGamemode.Server.Core/Managers/HouseManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server.Core/Managers/HouseManager.cs b/ReallifeGamemode.Server.Core/Managers/HouseManager.cs index 7e15ba0d..f20fc600 100644 --- a/ReallifeGamemode.Server.Core/Managers/HouseManager.cs +++ b/ReallifeGamemode.Server.Core/Managers/HouseManager.cs @@ -53,11 +53,11 @@ namespace ReallifeGamemode.Server.Core.Managers playerInColShape[house.Id] = new List(); houseMarkers[house.Id] = Api.Marker.CreateMarker(MarkerType.VerticalCylinder, housePos.Subtract(new Position(0, 0, 1.7)), new Position(), new Position(), 1.6f, Color.White); - string text = $"~g~Zum Verkauf\n~s~{house.Type}\nPreis: ~y~{(house.Price == 0 ? "~r~Nicht verkäuflich" : house.Price.ToMoneyString())}"; + string text = $"~g~Zum Verkauf~s~(ID: {house.Id})\n~s~{house.Type}\nPreis: ~y~{(house.Price == 0 ? "~r~Nicht verkäuflich" : house.Price.ToMoneyString())}"; if (house.OwnerId != null) { - text = $"{house.Type}\n~s~Besitzer: ~y~{house.Owner.Name}"; + text = $"{house.Type}~s~ (ID: {house.Id})\n~s~Besitzer: ~y~{house.Owner.Name}"; if (house.RentalFee != 0) {