Postado Novembro 3, 2014 10 anos amigo se você quizer tentar testa esse vê ai: function onUse(cid, item, frompos, item2, topos) local itens = {2160} ----dinheiro necessário local itens2 = {2189, 2191, 2187, 2190, 2181, 2188, 8921} ---- items necessários if isPlayer(cid) then if getPlayerItemCount(cid, itens) == 25 then -- quantidade dinheiro doPlayerRemoveItem(cid, itens, 25) end if getPlayerItemCount(cid, itens2) == 1 then -- quantidade de cada item doPlayerRemoveItem(cid, itens2, 1) queststatus = getPlayerStorageValue(cid, 100003) --- storage ao ganhar addon if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You won a full mage addon!") -- msg ao ganhar addon doSendAnimatedText(getPlayerPosition(cid), "", TEXTCOLOR_ORANGE) doPlayerAddOutfit(cid,138,3) doPlayerAddOutfit(cid,120,3) setPlayerStorageValue(cid, 100003, 1) else doPlayerSendTextMessage(cid,22,"You own this addon!") -- não lembro pq coloquei isso end else doPlayerSendTextMessage(cid,22,"I need 1 wand of cosmic energy, 1 wand of draconia, 1 wand of dragonbreath, 1 wanf of inferno, 1 wand of vortex, 1 terra rod, 1 common akilles wand and more 250.000 cash for this addon!") -- msg dos items necessários pro addon end else return false end return 1true end tag: <action uniqueid="4112" script="outfits/mage.lua" /> Editado Novembro 3, 2014 10 anos por alanmtd1 (veja o histórico de edições) Conteúdos Tragos Por Mim ao Fórum: • Venda de Vocações [Modern Aac] • • Comando !Saga • • [Modern Aac] DragonBall • • Esconder • • Naruto 2018 • • • • • • • 'NtoProject - Breve' [Show OFF] Disponível
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.