Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- local ores = {
- [11672] = 11682
- }
- local bars = {
- [11682] = 11682
- }
- -- Cooper Ores // Script --
- if (itemEx.itemid == 11672) then
- doTransformItem(itemEx.itemid, 11682)
- doSendMagicEffect(fromPosition, 15)
- doSendMagicEffect(toPosition, 13)
- doSendAnimatedText(fromPosition, "~Smelted", 192)
- elseif(getPlayerItemCount(item.itemid, 11672) < 2) then
- doPlayerSendCancel(cid, 'You must have a pair of cooper ores to do this.')
- return true
- end
- return false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement