DarkRP restricting pickup of 'x' if player already has 'x'

Hi

So I’ll give you some background behind this…

I have 4 bags in different sizes based off of the Pocket SWEP…
Small: 4
Medium: 6
Large: 8
VIP: 10

I have changed Pocket to only carry 2 things…

At the moment, people can have all 4 bags totaling 28 carrying slots + the 2 from the Pocket…

What I would like is for players to not be able to pick up another bag if they’re already carrying one but I have no idea how to do this…

Any help will be appreciated.

Thanks.

GM:PlayerCanPickupWeapon / GM:PlayerCanPickupItem ?

Look at the pocket swep itself and find the limit then change it?