How to save/load weapons

How do you save/load weapons?

You make a table of the players weapons on disconnect and have it get saved to the server then when they rejoin loop through the table and give them each weapon.