From 21f5ed8a64dcccb9e0382d7b0d484ff22581c027 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 9 May 2021 18:51:03 +0200 Subject: [PATCH] wt-start-text angepasst --- ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs b/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs index 4627f153..fe7af038 100644 --- a/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs +++ b/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs @@ -76,6 +76,7 @@ namespace ReallifeGamemode.Server.WeaponDeal vector = WeaponDealPoints.getRndWD_Route(user.FactionId.Value); if (vector == new Vector3()) return; + fVeh.SetData("weaponDealPoint", vector); if (user.Faction.WeaponDealTime > 0) @@ -123,8 +124,7 @@ namespace ReallifeGamemode.Server.WeaponDeal ChatService.BroadcastFaction($"~y~[WAFFENDEAL]~s~ {msg}.", user.Faction); - string vehName = NAPI.Vehicle.GetVehicleDisplayName(factionVehicle.Model); - ChatService.SendMessage(client, $"~y~[WAFFENDEAL]~s~ Steige in den {vehName} ein und fahre zum Übergabepunkt."); + ChatService.SendMessage(client, "~y~[WAFFENDEAL]~s~ Steige in den ~y~Transporter ~s~ein und fahre zum Übergabepunkt."); fVeh.SetData("weaponDeal", true); InventoryManager.RemoveAllItemsfromVehicleInventory(fVeh); Faction fac = context.Factions.Where(f => f.Id == user.FactionId).FirstOrDefault();