Nothxbye
Banned User
- Joined
- Jan 22, 2012
- Messages
- 1,124
- Reaction score
- 173
Hello,
Anyone know how to get all items from certain position?
As far i have this but this function depends from stackpos, thats the problem.
If i remove stackpos it reads default stackpos = 0
Anyone know how to get all items from certain position?
As far i have this but this function depends from stackpos, thats the problem.
Code:
pos = {x=pos.x,y=pos.y,z=pos.z,stackpos = 1}
for _, item in pairs(getTileThingByPos(pos)) do
print(getItemName(item))
end
If i remove stackpos it reads default stackpos = 0