Postado Março 8, 2016 10 anos Preview Script data/actions/actions.xml <action itemid="9737" script="other/magicalorb.lua"/> data/actions/scripts/magicalorb.lua local items = { [2195] = 35000, -- [ItemID] = PriceOfItem } function onUse(cid, item, fromPosition, itemEx, toPosition) local x = items[itemEx.itemid] if x then doRemoveItem(itemEx.uid, 1) doPlayerAddMoney(cid, x) local info = getItemRWInfo(itemEx.itemid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You have sold your item!") doSendMagicEffect(getThingPos(cid), CONST_ME_FIREWORK_YELLOW) else doPlayerSendCancel(cid, "You can't sell this item.") doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) end return true end Créditos: God Mythera
Postado Março 16, 2016 10 anos upgraded script https://otland.net/threads/tfs-0-3-6-0-4-item-seller-v1-0.240846/
Postado Março 20, 2016 10 anos btw anything you post from God Mythera is me pm me on otland if needed! Rep++
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.