Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you use this as an inventory?! [closed]

Asked by
Subbix -5
7 years ago
local inventory = {"Test","Test1"};
local inv = function(item)
    for _, inventory in pairs (inventory) do
    print(inventory)
    end
    table.insert(inventory, item);
end

wait(3)
inv()

I'm sorry but I really don't know! I'm very confused..

Closed as Not Constructive by BlueTaslem

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?