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 ;-;

1 comment

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'.