Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##AutoPickUp##R8Sentinel##
- 1. Intram in game.py (root).
- 1.1 Cautam:
- def OnUpdate(self):
- Adaugam mai jos:
- if 1 == constInfo.ENABLE_PICKUP:
- self.PickUpItem()
- 1.2 Cautam:
- testAlignment = 0
- Adaugam mai jos:
- CHECK_ACTIVE_PICKUP = 0
- 1.3 Cautam:
- app.DIK_F4
- Adaugam mai jos:
- onPressKeyDict[app.DIK_F5] = lambda : self.__EnablePickUpItem()
- !Info: F5: este tasta care porneste/opreste sistemul.
- 1.4 Cautam:
- def __PressNumKey(self,num):
- Adaugam mai sus:
- def __EnablePickUpItem(self):
- global CHECK_ACTIVE_PICKUP
- if CHECK_ACTIVE_PICKUP == 0:
- CHECK_ACTIVE_PICKUP = 1
- constInfo.ENABLE_PICKUP = 1
- chat.AppendChat(chat.CHAT_TYPE_NOTICE, "|cFF00ff33Auto-Pickup este pornit.|h|cFFFFFFFF|h")
- else:
- CHECK_ACTIVE_PICKUP = 0
- constInfo.ENABLE_PICKUP = 0
- chat.AppendChat(chat.CHAT_TYPE_NOTICE, "|cFFDC143CAuto-Pickup este oprit.|h|cFFFFFFFF|h")
- !Info: |cFF00ff33 =culoarea textului afisat pe cat.
- 2. Intram in constInfo.py (root)
- Adaugam (dupa import)
- ENABLE_PICKUP = 0
- ##AutoPickUp##R8Sentinel##
Advertisement
Add Comment
Please, Sign In to add comment