Item Pickup Recognition

So I have created an inventory system similar to that of pubg but I have it hit a roadblock when it comes to actually equipping a weapon. Does anyone have a solid way of doing this for a game that will consist of multiple weapons? I can upload files if needed.