is this man just asking for a simple loop through his data table?
Just loop through your data table and do what you need to do with each row
function mytrigger()
local bases = {
{2412.8,92,26.47,1830.7,-1930.1,2955.6001,"garaza","playerserial"},
{1835.7,-1930.1,2955.6001,2412.8,92,26.40,"garaza2","playerserial"},
}
for key, value in ipairs(bases) do
local x,y,z,x1,y1,z1,password,ownerserial = value[1],value[2],value[3],value[4],value[5],value[6],value[7],value[8]
-- do your workings with each row here
outputConsole(tostring(ownerserial))
end
end
addCommandHandler ( "mytrigger", mytrigger )
I've added a command handler so you can output the result to the console for testing yourself.
When outputting to the console be sure to use tostring() for any value that is not a string already