UserToDelete Posted April 3, 2015 Posted April 3, 2015 Exactamente, que tengo que hacer si coloco esto: Lo que quiero lograr, es que se repita un valor de una tabla, 127 veces value = { "l" } function test (source, commandName) for i=1,127 in ipairs(¿¿¿value???) do outputChatBox(¿¿i??, source, 255,255,0,true) end end Como consecuencia: Tiene que hacer esto: l l l l l l l l l l l l l l l l l l l l l l l l l l l l { ... }
Tomas Posted April 3, 2015 Posted April 3, 2015 for index = 1,127 do print("l") end ? Currently developing for International Gaming Community - Join us!
Enargy, Posted April 3, 2015 Posted April 3, 2015 · Hidden Hidden value = { "l" } function test (source, commandName) local text = unpack(value) for i=1,127 do outputChatBox(text, source, 255,255,0,true) end end - Inactivo.
Recommended Posts