• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Various Stackpos

bomba

Member
Joined
Feb 26, 2008
Messages
635
Reaction score
7
Location
Brazil
I tried:
Code:
{x=x, y=y, z=z, stackpos=2 or stackpos=3 or stackpos=4 or stackpos=5 or stackpos=6 or stackpos=7 or stackpos=8 or stackpos=9 or stackpos=10}

But it did not work(I already thought)... how do various stackpos?

Example:
stackpos="2" to stackpos="200"

Help-me!!
 
Don't work:
Code:
   for i = 2, 200 do
    local poss = {x = parametros.pos.x, y = parametros.pos.y, z = parametros.pos.z, stackpos=i}
     end 
      local getPoss = getThingfromPos(poss)
     if getPoss.itemid == config.item then
    doRemoveItem(getPoss.uid, 1)
 
Code:
	for i = 2, 200 do
		local thing = getThingfromPos({x = parametros.pos.x, y = parametros.pos.y, z = parametros.pos.z, stackpos=i})
		if thing.itemid == config.item then
			doRemoveItem(thing.uid)
		end
	end
 
Back
Top