Weapons from game shop to weapons array

I’m working on a fps game and i have a question which i’m unable to find a answer.i already created a game weapon shop and weapon array to cahange weapon.i want to lock all the weapons in array and unlovk each weapon from the weapon shop buy purchasing.so, the question is how to do that?

Hello. I dont know if understanding your problem… because the solution is too much simple—

If you have an array of weapons, you just need an array of bool variables of the same lenght.

Each weapon have its own bool in this second array.



Where is the problem