Postado Outubro 5, 2011 13 anos Este é um post popular. Olá! A pedidos de usuarios, resolvi fazer esse script simples e eficaz. Como o própio nome do tópico diz: Aol Inifinito. No script possui um config onde pode ser alterado o ammyID = id do amuleto, lossExp = player perder exp, lossItems = player perder items. newAol.lua local config = { ammyID = 2130, lossExp = false, lossItems = false } function onDeath(cid, lastHitKiller, mostDamageKiller) if isPlayer(cid) then if (getPlayerSlotItem(cid, 2).itemid == config.ammyID) then if (config.lossExp == false) then doPlayerSetLossPercent(cid, experience, 0) end doCreatureSetDropLoot(cid, config.lossItems) return true end end return true end creaturescripts.xml <event type="death" name="NewAol" event="script" value="newAol.lua"/> Adicione no login.lua essa linha perto dos outros registercreatures. registerCreatureEvent(cid, "NewAol") Obs¹: Esse script serve para todos os players inclusive RedSkulls/BlackSkulls. Qualquer dúvida é só postar! Atenciosamente, Aluccard. Editado Outubro 5, 2011 13 anos por Aluccard (veja o histórico de edições) The life is hard: No projects for a while.
Postado Outubro 6, 2011 13 anos Quando o kra morre com esse aol volta apra lvl 1 ¬¬ arrumar ae Editado Outubro 8, 2011 13 anos por macnowfhael (veja o histórico de edições) Contato :https://www.linkedin.com/in/rafhael-oliveira/Projetos :https://github.com/thetibiaking
Postado Outubro 16, 2011 13 anos Autor Hiho. What server are u using? I tested it and worked fine... If u need any help, ask me with pm. See u again, Allucard. The life is hard: No projects for a while.
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.