I am having a few issues with tables and calling some values from them. Here is what I mean:
cartable = {"Car1", "Car2"}
table = "cartable"
for i = 1, #table do
print(table[i])
end
This is a very simplified version of my issue, but that is basically it. How can I use a string (must be using a string) to set a variable as a table?