Hey! i have problem with my inventory system , so I have 2 buttons equip and save and when I equip the weapon and shot say 3 bullets and Dont reload, click unequip and equip ammo just reset to default number, I thick is problem with use function becose when I have weapon equiped , weapon dont delete from inventory . I Think when I unequip that weapon nad click equip Game read that weapon like new - no old , maybe I dont now. Sory for my English.
Do you load the save?
The Problem i not save nad load , He is in weapon i mean when i unequip weapon and equip my ammo just refersh, i was try to make vairaible that just grab the lastest information about ammo but not works , i think ammo is refreshing becouse is hard coded
mhm? maybe after fire?
Something like this?
No that dont help
Try to save current ammo seconds before the weapons is unequip
Yes, try to that
Yes, try it and tell me if that did help you
can you upload an image of the ammo down and the save/ load system?