Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1.  
  2. macro(1000, "refill arrows", function(macro)
  3. if getAmmo() == nil then
  4. local arrows = findItem(23912) -- ID DAS ARROWS
  5. if arrows then
  6. moveToSlot(arrows, SlotAmmo, arrows:getCount()) -- the arrows was found move them to ammo slot
  7. return -- arrows was found and moved end the cycle.
  8. end
  9. -- if the script reach this point the arrows wasn't found on any of player backpacks.
  10. macro.setOff() -- disable the macro since we didn't find any arrows
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement