So Im cycling trough a table coming from datastorage but I dont know how to get the objects name. Heres the code:
local test = {["Cat"] = 3, ["Dog"] = 1}
for i,v in pairs(test) do
print(v)
end
How can I make it so it prints (Dog/cat) inside the for loop?
Sorry im not 100% english and I dont know much about programming expressions