Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you save a dictionary (table terms) into a data store then get information out later?

Asked by 10 years ago

Here is my code (I'm testing):

local information = {
    User = {
        ["UserName"] = "EncodedLua",
        ["Membership"] = "OBC"
    }
}
local master_dictionary = {

}

table.insert(master_dictionary, information)

for i, v in ipairs(master_dictionary) do -- What do all do I do in this for loop? I know that you have to use a for loop somewhere in the process.
end
0
Are you looking for a way to save the tables in a way that prevents you going over the data limit or are you simply unaware that your tables can already be saved in the Data Store? Articulating 1335 — 10y
0
I don't know what that means. I think you may have some grammar mistakes that makes it hard to understand EncodedLua 0 — 10y

1 answer

Log in to vote
-2
Answered by 10 years ago

I think I found out the solution...

Ad

Answer this question