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











info
Grupo: Herói
Registrado: 20/09/12
Posts: 2.6k
Reputação: +1.1k
Gênero: Masculino
Meu sistema de mega evolução foi escrito para servidores sem o sistema de ícones. Logo, eles provavelmente estão conflitando. Talvez seja necessária alguma mudança em portrait.lua (data/movements/scripts). Se possível, poste aqui o conteúdo deste arquivo.