Continue Ammunation

This commit is contained in:
VegaZ
2021-04-13 21:46:11 +02:00
parent 8e5e1ca093
commit 1f00619366
4 changed files with 48 additions and 18 deletions

View File

@@ -37,15 +37,15 @@ namespace ReallifeGamemode.Server.Shop.Ammunation
return;
}
//List<Weapon> melee = weaponList.ToList().FindAll(w => w.Category == "Pistol");
List<Weapon> handguns = weaponList.ToList().FindAll(w => w.Category == "Handgun");
//List<Weapon> smgs = weaponList.ToList().FindAll(w => w.Category == "SMG");
//List<Weapon> shotguns = weaponList.ToList().FindAll(w => w.Category == "Shotgun");
//List<Weapon> assaultrifles = weaponList.ToList().FindAll(w => w.Category == "AssaultRifle");
//List<Weapon> lmgs = weaponList.ToList().FindAll(w => w.Category == "LMG");
//List<Weapon> sniperrifles = weaponList.ToList().FindAll(w => w.Category == "SniperRifle");
//List<Weapon> heavyweapons = weaponList.ToList().FindAll(w => w.Category == "HeavyWeapon");
//List<Weapon> throwables = weaponList.ToList().FindAll(w => w.Category == "Throwables");
//List<Weapon> melee = weaponList.ToList().FindAll(w => w.Category == "Nahkampfwaffen");
List<Weapon> handguns = weaponList.ToList().FindAll(w => w.Category == "Pistolen");
//List<Weapon> smgs = weaponList.ToList().FindAll(w => w.Category == "Maschinenpistolen");
//List<Weapon> shotguns = weaponList.ToList().FindAll(w => w.Category == "Schrotflinten");
//List<Weapon> assaultrifles = weaponList.ToList().FindAll(w => w.Category == "Sturmgewehre");
//List<Weapon> lmgs = weaponList.ToList().FindAll(w => w.Category == "Leichte Maschinengewehre");
//List<Weapon> sniperrifles = weaponList.ToList().FindAll(w => w.Category == "Scharfschützengewehre");
//List<Weapon> heavyweapons = weaponList.ToList().FindAll(w => w.Category == "Schwere Waffen");
//List<Weapon> throwables = weaponList.ToList().FindAll(w => w.Category == "Werfbare Waffen");
List<Array> shopWeapons = new List<Array>
{