Jump to content

How to print table within a table


Dice

Recommended Posts

  • Moderators
for index1 = 1,#tab do 
    local tabContents = tab[index1] 
    local newString 
    for index2 = 1,#tabContents do 
        newString = tabContents[index2].. " " 
    end 
    if newString then 
        outputChatBox(newString) 
    end 
end 

You mean something like this?

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