Ir para conteúdo

Egg..que Troca Outfit!


JohnColner

Posts Recomendados

adicionar essa tag em actions.xml

 

<action itemid="6544" event="script" value="outfit.lua"/>

 

adicionar em actions/script/outfit.lua

 

 

local effects = {66,}

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

for i = 1, #effects do

doSendMagicEffect(getCreaturePosition(cid), effects)

end

doCreatureChangeOutfit(cid, {lookType = math.random(2, 134), lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0})

doSendAnimatedText(getPlayerPosition(cid),"Changed!", math.random(01,255))

doRemoveItem(cid, item.uid, 1)

return TRUE

end

 

Se ajudeii REP +

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...