inventory:
elseif itemName == "M4A1 CCO" or itemName == "AK-47" or itemName == "CZ 550" or itemName == "Winchester 1866" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Sawn-Off Shotgun" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "Lee Enfield" then
weaponAmmoTable = {
["G17 Mag"] = {
{"G17", 22}},
["M1911 Mag"] = {
{"M1911", 22}},
["M9 SD Mag"] = {
{"M9 SD", 23}},
["Desert Eagle Mag"] = {
{"Desert Eagle", 24}},
["PDW Mag"] = {
{"PDW", 28}},
["MP5A5 Mag"] = {
{"MP5A5", 29}},
["AK Mag"] = {
{"AK-47", 30}},
["STANAG Mag"] = {
{"M4A1 CCO", 31}},
pickups:
{"M4A1 CCO",356,1,90,2.4},
on itemTable
["STANAG Mag"] = {
{"M4A1 CCO",31},
},
WeaponAmmoTable
elseif itemName == "M4A1 CCO" or itemName == "AK-47" or itemName == "CZ 550" or itemName == "Winchester 1866" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Sawn-Off Shotgun" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "Lee Enfield" then
removeBackWeaponOnDrop()
And in the others i change "M4" TO "M4A1 CCO" - easy change, but not work.