haus id in textlabel
This commit is contained in:
@@ -53,11 +53,11 @@ namespace ReallifeGamemode.Server.Core.Managers
|
||||
playerInColShape[house.Id] = new List<IPlayer>();
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user