Jump to content

Table help


PalmTree

Recommended Posts

How i do get table string, no number?

Like this:

  
local poland = { 
    ["Pivac"] = { 
        ["Beer"] = { 
              ["Brieck"] = {collor="Yellow"}, 
              ["Grass"] = {collor="Green"} 
        } 
    } 
} 
  

now i need know how i get 'brieck' and 'grass' at same time. so not 'poland.Pivac.Brieck'

i tried using

  
for i = 1, #poland do 
    outputDebugString(poland.Pivac.Beer[i]) 
end 
  

but no work :|

thanksyou from Poland

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...