What I wonder is what does this error output mean?
The code looks like this:
Thanks in advance!
Code:
bad argument #1 to 'ipairs' (table expected, got nil)
The code looks like this:
Code:
function spellSys:setCombatParam(paramType, value, ...)
for _, v in ipairs(arg) do <--This is where the error occur when I look in my GUI
setCombatParam(self:getCombat(v), paramType, value)
end
end
Thanks in advance!