Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local MainBP = "backpack of holding"
  2. local StackBP = "jewelled backpack"
  3. local ItemBP = "Deepling Backpack"
  4. local GoldBP = "golden backpack"
  5. local PotionBP = "zaoan chess box"
  6. local AmmoBP = "green backpack"
  7.  
  8. local numberOfBackpacks = 6
  9.  
  10. Module('Alarm Containers', function(mod)
  11. if #Container.GetAll() < numberOfBackpacks and Self.isInPz() == false then
  12. print('Containers fucked up, stopping to reset BPs')
  13. setWalkerEnabled(false)
  14. Targeting.Stop()
  15. Looter.Stop()
  16. Self.CloseContainers()
  17. Self.OpenMainBackpack(true):OpenChildren({StackBP, true}, {ItemBP, true}, {GoldBP, true}, {PotionBP, true}, {AmmoBP, true})
  18. wait(200, 500)
  19. setWalkerEnabled(true)
  20. Targeting.Start()
  21. Looter.Start()
  22. end
  23. mod:Delay(2000)
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement