ond
Veteran OT User
I need help with my script. It is supposed to break (remove) a rock with item id number 1304. Anyway here is my script so far:
ugh, nvm sorry
LUA:
function onUse(cid, item, frompos, item2, topos)
if item2.itemid == 1304 and item2.actionid == 1501 then
doRemoveItem(item.itemid,1)
doDecayItem(item2.uid)
doSendMagicEffect(topos, CONST_ME_POFF)
end
return 1
end
ugh, nvm sorry
Last edited: