Ir para conteúdo

Posts Recomendados

em creaturescripts/creaturescripts.xml coloque isso:

 

<event type="preparedeath" name="lootaomorrer" event="script" value="lootaomorrer.lua"/>

 

em creaturescripts/scripts/login.lua coloque:

 

registerCreatureEvent(cid, "lootaomorrer")

 

 

crie um arquivo em creaturescripts/scripts chamado lootaomorrer.lua e coloque isso nele:

 

function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
   if isPlayer(cid) == true then
    doCreatureSetDropLoot(cid, false)   
              end 
               return true
   end

 

 

THX! Tudo para um xtibia melhor..

 

ele nao precisa de aol viu =D

×
×
  • Criar Novo...