Troll Posted February 28, 2014 Report Share Posted February 28, 2014 Buenas , como hago para que en esta quest al darle click también desaparezca el cofre ? quest cofre begin state start begin when 50040.use begin local items = {70005} pc.give_item2(items[number(1, table.getn(items))]) end end end al darle clik da el item pero no desaparece el cofre gracias de antemano. un saludo. Link to comment Share on other sites More sharing options...
Anders2D Posted February 28, 2014 Report Share Posted February 28, 2014 quest cofre begin state start begin when 50040.use begin pc.give_item2(70005,1) item.remove() end end end Link to comment Share on other sites More sharing options...
Yori Posted February 28, 2014 Report Share Posted February 28, 2014 pc.give_item2(items[number(1, table.getn(items))],1) Te falta el ,1 en el give_item2 Link to comment Share on other sites More sharing options...
Recommended Posts