Sinister 0 #1 Posted July 26, 2010 (edited) SCRIPT: table.add = function(t1, t2, t3) for _, valor in pairs(t1) do table.insert(t3, valor) end for _, valor in pairs(t2) do table.insert(t3, valor) end end funciona assim: table.add = function(t1, t2, t3) for _, valor in pairs(t1) do table.insert(t3, valor) end for _, valor in pairs(t2) do table.insert(t3, valor) end end local table1 = {"Demon"} local table2 = {"Rat"} local table3 = {} table.add(table1, table2, table3) Dai, usando o printTable do Kaotar, vai printar {Demon, Rat} Agradeçimentos especiais: Notorious, e Kaotar (adorei o printTable, to usando todo dia '0') Edited January 23, 2011 by Mickfern Share this post Link to post Share on other sites
tigerx2 1 #2 Posted July 26, 2010 haha, assim facilita muito, /alguns scripts eh claro e me ajudou bastante.. valeu ae manolols att~ tigerx2 Share this post Link to post Share on other sites