I want to know why this script is printing two variables even though I specified what I wanted to print. Image Structure of the table;
data = {
playerName = {
potato = 0,
extrapotato = 0
}
}
The script;
for i, v in pairs(data) do
print(v.potato) -- outputs: nil 0
print(v.extrapotato) -- outputs: nil 0
end)
Help? Thanks!
EDIT: I solved it via an admin who told me that I inserted data wrong, all is fixed. :)
