Inventory problem

sickb0y247 Posts: 11Member
How do I get the number of bullets in a weapon that is not currently equipped. I can get the number not actually loaded in the weapon but I need the number that are actually loaded. If I remove the weapon from the inventory those bullets just get lost otherwise.
Tagged:

Answers

  • sickb0y247 Posts: 11Member
    edited April 20
    Nevermind I've got it now. For anybody trying to do this, make unique ID numbers for your weapons, search through playerInventory.UnitBankInstances[i].Count will give you the bullets in the clip.
Sign In or Register to comment.