Jump to content
  • 0

[Resolvido] uma script clicar no item pegar outfit vai ser temporária


Question

3 answers to this question

Recommended Posts

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

local config = {
tempo = 300,
outfit = {lookType = 70}, -- looktype do outfit
effect = 12,
msg = "Você ganhou um outfit!"
}

doSetCreatureOutfit(cid, config.outfit, config.tempo * 1000)
doSendMagicEffect(getThingPos(cid), config.effect)
doPlayerSendTextMessage(cid, 22, config.msg)
doRemoveItem(item.uid, 1)

end

 

  • 0
A questão neste tópico de suporte foi respondida e/ou o autor do tópico resolveu o problema. Este tópico está fechado e foi movido para Suporte - Resolvidos. Se você tiver outras dúvidas, crie um novo tópico.
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...