How would I make GTA-like weapon system?

Hi there. I need Manhunt or GTA like weapon system for my 3D sidescroller game, with different weapon slots and swapping weapons on picking up. Can anyone link me proper tutorials for that (because I really can’t find anything like that) or assist me in making such a system? Thanks in advance.

c++