Hello everyone,
Why doesnt this work?
It create the item, but it doesn't decay. It getting stuck on 10min!
Why doesnt this work?
It create the item, but it doesn't decay. It getting stuck on 10min!
LUA:
local pos = {x=1000,y=1000,z=7}
local poscheck = getTileItemById(pos, 10288).uid
local decaycreate = doCreateItem(10288,1,pos)
if poscheck == 0 then
doDecayItem(decaycreate)
else
doRemoveItem(poscheck)
doDecayItem(decaycreate)
end
Last edited: