I'm trying to figure out a way for when a player drops a weapon, they will also drop it's bpammo. So lets say a player has a AK47 with 30/51 ammo; that player drops the AK47. Another player who didn't have that weapon picks up that same AK47 and now has 30/51 ammo. And if the original owner buys another AK47, it won't have 30/51, but 30/0 (because when you buy weapons it doesn't automatically give you full clip).
I have an idea of how to do this but I'm just curious if someone else has a better idea, and to show me.
This is what I'm planning, Player drop AK47, get his bpammo and save it. Then remove his bpammo. Then when another player comes and pick up that weapon, it will give set that players bpammo to add his current bpammo for that weapon + the dropped weapon bpammo. (And of course if the total is over to 90, it will just set it to 90 and not give the player more than they should have).