Ir para conteúdo
  • 0

Pergunta

GALERA AJUDA AE =)

ERRO:

[20/06/2012 19:36:27] [Error - MoveEvents Interface]
[20/06/2012 19:36:27] data/movements/scripts/portrait.lua:onEquip
[20/06/2012 19:36:27] Description:
[20/06/2012 19:36:27] (luaDoTransformItem) Item not found

 

SCRIPT:

 

function onEquip (cid, item, slot)
if not cid then return true end
if item.uid <= 0 then return true end
if not getItemAttribute(item.uid, "poke") then
return true
end
for i, x in pairs(fotos) do
 if string.lower(getItemAttribute(item.uid, "poke")) == string.lower(i) then
  doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[i])
 return true
 end
end
end
function onDeEquip(cid, item, slot)
if not cid then return true end
if item.uid <= 0 then return true end
if not getItemAttribute(item.uid, "poke") then
return true
end
doTransformItem(getPlayerSlotItem(cid, CONST_SLOT_LEGS).uid, 2395)
end

Link para o comentário
https://xtibia.com/forum/topic/188396-ajuda-movment-portraid/
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...