robson
New member
Hello, could anyone help me, please?
I'm trying to remove only the AssaultRifle from my inventory, however, when I call "inventory.RemoveItem (itemType, slotID, false);" and always removes the bullet TOGETHER with the gun and I do not want that to happen. Does anyone know how to ONLY remove the weapon? If you can not do this, would you be able to set ammunition value to 0 by code? I tried it in many ways, but I could not !!
I'm trying to remove only the AssaultRifle from my inventory, however, when I call "inventory.RemoveItem (itemType, slotID, false);" and always removes the bullet TOGETHER with the gun and I do not want that to happen. Does anyone know how to ONLY remove the weapon? If you can not do this, would you be able to set ammunition value to 0 by code? I tried it in many ways, but I could not !!