You can place a tables in tables. (Note: Not literally as under the hood only a reference to the sub tables will be saved in the outer table. But that is another story...)
local veh = { -- < outer table
{411, 2505.1791992188, -1664.51953125, 13.391730308533, 0, 0, 90}, -- < inner tables separated by ,
{411, 2505.1791992188, -1664.51953125, 13.391730308533, 0, 0, 90}
}
And using a loop to process them all:
function Vehicles()
for i=1, #veh do
createVehicle(unpack(veh[i]))
end
end
addEventHandler("onResourceStart", root, Vehicles)