Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. ​import constInfo,chat,thread,player,time,app,net,chr,dbg,ui
  2.  
  3.  
  4. ### Settings ###
  5. SLOT_COUNT = player.INVENTORY_PAGE_COUNT*player.INVENTORY_PAGE_SIZE
  6. DELAY = 1
  7. PLAYER_NAMES = ["Account1", "Account2", "Account3"]
  8. ITEM_ID = 30270
  9. ### END ###
  10.  
  11. def StartDropItems():
  12. while 1:
  13. for slot in xrange(SLOT_COUNT) :
  14. if player.GetItemIndex(slot) == ITEM_ID:
  15. net.SendItemDropPacketNew(slot,200)
  16. time.sleep(1)
  17.  
  18. if not hasattr(constInfo, "started"):
  19. constInfo.started = 1
  20. if chr.GetName() in PLAYER_NAMES:
  21. thread.start_new_thread(StartDropItems,())
  22. chat.AppendChat(7,"[m2bob] drop items started" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement