Here pick up cash from the floor:
for the message on default wait for admin reply
CODE:
local tiles = gettiles()
local player_x = posx()
local player_y = posy()
local player_z = posz()
local flag = false
for _, tile in ipairs(tiles) do
if tile.itemcount > 1 and math.abs(tile.posx - player_x) <= 7 and math.abs(tile.posy - player_y) <= 5 and tile.posz == player_z then
for __, item in ipairs(tile.items) do
if item.id == 3031 or item.id == 3035 or item.id == 3043 then
if reachlocation(tile.posx, tile.posy, tile.posz, false) then
wait(800, 1200)
moveitems(item.id, '', ground(tile.posx, tile.posy, tile.posz), 100)
wait(500, 1000)
flag = true
break
end
end
end
end
if flag then
break
end
end
|Only Registered members can see download links. | Click here to buy subscription or here to register.