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 11 years ago

Here is my code (I'm testing):

01local information = {
02    User = {
03        ["UserName"] = "EncodedLua",
04        ["Membership"] = "OBC"
05    }
06}
07local master_dictionary = {
08 
09}
10 
11table.insert(master_dictionary, information)
12 
13for 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.
14end
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 — 11y
0
I don't know what that means. I think you may have some grammar mistakes that makes it hard to understand EncodedLua 0 — 11y

1 answer

Log in to vote
-2
Answered by 11 years ago

I think I found out the solution...

Ad

Answer this question