Saving Playermodel before player leaves so when they join back its the same.

So I’m making a gamemode RP gamemode for gmod and you get outfits from NPC’s which are obviously Playermodels. I want the player to keep the outfit even when disconnect and reconnect. How would I go about this? Would I need to setup tables NOTE I do not have any experience with Tables or an SQL setup?


When the player obtains an outfit from the NPC, you are going to want to save that model (the string directory) to your database.

When a player spawns, you are going to want to set his model to whatever you saved.

Although outdated, this tutorial is still good for learning how to use the built in SQL library.