The process seems simple:
you have the death unit and when the player is alive again its weapons are removed and the weapons and magazines of the death unit are added to the respawned player.
But I found that this leaves the player in a situation where he cannot fire or even use "V" key to have the sight view unless he switches weapons, at least when having multiple weapons.
Any simple workaround for this?