add assaultsmg to pd wt

This commit is contained in:
hydrant
2021-04-11 05:05:38 +02:00
parent 9d1ba9eb43
commit 94bcfa5551
4 changed files with 29 additions and 1 deletions

View File

@@ -218,6 +218,8 @@ namespace ReallifeGamemode.Server.WeaponDeal
InventoryManager.AddItemToVehicleInventory(fVeh, item5.ItemId, item5.Amount);
VehicleItem item6 = new VehicleItem() { ItemId = 11, VehicleId = factionVehicle.Id, Amount = WEAPON_AMOUNT_COP_STUNGUN * oMembers }; //Stungun
InventoryManager.AddItemToVehicleInventory(fVeh, item6.ItemId, item6.Amount);
VehicleItem item7 = new VehicleItem() { ItemId = 14, VehicleId = factionVehicle.Id, Amount = WEAPON_AMOUNT_COP_STUNGUN * oMembers }; // AssaultSmg
InventoryManager.AddItemToVehicleInventory(fVeh, item7.ItemId, item7.Amount);
}
else if (factionVehicle.GetOwners().Contains(3))
{
@@ -244,4 +246,10 @@ namespace ReallifeGamemode.Server.WeaponDeal
}
}
}
public class WeaponRackWeaponAmountInfo
{
public string WeaponModel { get; set; }
public int Amount { get; set; }
}
}