Formatting a table


I’m currently trying to make a readable inventory file. But how do I make the table look like this?


local dfile = {"weapon_pistol", "weapon_stunstick"}

I want it to format into this. How?

inventory {

As in serialize it for a file? Check out:

Yeh, looks nice. I also found util.TableToKeyValues( table table ) right below, thanks for the help!

If you could mark the thread as solved, it keeps the forums a lot cleaner. c:

How? I can’t find it.