Jump to content
  • 0

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


ADMP0KEWOOD
 Share

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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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