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();