Hi.
You have to unpack values first, because now you pass only a table to createObject.
function just_a_function()
-- get the values from table
local model, x, y, z, rx, ry, rz = narrows[1][1], narrows[1][2], narrows[1][3], narrows[1][4], narrows[1][5], narrows[1][6], narrows[1][7]
createObject(model, x, y, z, rx, ry, rz)
-- or you can use 'unpack'
local model, x, y, z, rx, ry, rz = unpack(narrows[2])
createObject(model, x, y, z, rx, ry, rz)
end