i have a table of stuff where for each entry a function is called but since in that function i gotta use that table i must make it global, the problem is, when i call it, it shows a warn, and since its a long list there are MANY warns, is there any workaround for this
example:
local tab = {
something = dosomething(), --warns
othersomething = dosomething() --warns
}
function dosomething()
return table.insert(tab, "something")
end