ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
This code
does not work
How do I do the doRemoveItem on an actual object?
LUA:
local pos = {x=419, y=1325, z=8}
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 1033) == 2 and item.itemid == 2087 then
doRemoveItem(getTileThingByPos(pos).uid)
end
end
How do I do the doRemoveItem on an actual object?
Last edited: