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

How do you find a table inside of a table?

Asked by 6 years ago
Edited 6 years ago

I made this:

 sessionData[plr] = {
        Money = 1500
    furniture = {}
        Grid = {}
        Orient = {}
        skin1 = {}
        skin2 = {}
        skin3 = {}
        nam = {}
}

but I can't figure out how to locate the tables inside of the main table. Please help ;-;

0
String indices in a table can be accessed with a dot followed by the name of the sub table. In order to access 'furniture' for example, you can do 'sessionData[plr].furniture'. RayCurse 1518 — 6y

Answer this question