Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move inventory item to xyz
#1
Code:
local item = findItem(3031)

    g_game.move(item, pos(), 1)

return true
I tried using this and adding the position after "pos(" but it just puts the gp below myself. How would I move it to a specific pos that's not under my feet?
Reply
#2
g_game.move(item, {x,y,z}, 1)
Reply
#3
(12-16-2020, 07:49 PM)Vithrax Wrote: g_game.move(item, {x,y,z}, 1)

doesn't work, I tried to use

macro(5000, "Drop", function()   

local itemdrop = 3031 --gold coin
g_game.move(itemdrop, {278,425,7}, 1)

end)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)