Having problem with indexing a table

I see, but I already showed screenshots of the tables which showed otherwise. I guess it was still a possibility.

but what I still don’t get is why the index was a string?? it’s a for loop?

Woahhh, a lot has happened since I was last here…

Glad you got the solution though.

Like it said it depends on how you first made the inventory table. A for loop simply returns the index and the value, and the index can be anything, not necessarily a number. I would go back to the part where you made inventory in the first place.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.