Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __PressNumKey(self,num):
- if time.clock() >= self.utilizareTaste:
- if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
- if num >= 1 and num <= 9:
- if(chrmgr.IsPossibleEmoticon(-1)):
- chrmgr.SetEmoticon(-1,int(num)-1)
- net.SendEmoticon(int(num)-1)
- else:
- if num >= 1 and num <= 4:
- self.pressNumber(num-1)
- else:
- chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.")
- def __PressQuickSlot(self, localSlotIndex):
- if time.clock() >= self.utilizareTaste:
- player.RequestUseLocalQuickSlot(localSlotIndex)
- else:
- chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi comanda.")
- def ToggleInventoryWindow(self):
- if time.clock() >= self.utilizareInventar:
- if FALSE == player.IsObserverMode():
- if FALSE == self.wndInventory.IsShow():
- self.wndInventory.Show()
- self.wndInventory.SetTop()
- else:
- self.wndInventory.OverOutItem()
- self.wndInventory.Close()
- else:
- chat.AppendChat(chat.CHAT_TYPE_INFO, "Mai asteapta cateva secunde pentru a putea folosi inventarul.")
Advertisement
Add Comment
Please, Sign In to add comment