- Mesaj
- 171
- Çözümler
- 7
- Beğeni
- 39
- Puan
- 89
- Ticaret Puanı
- 0
game.py içerisinde
F8 botununa basınca ise ;
-
Bu şekilde çalışmasında problem yok
lakin f5 butonu içerisine 1. sıraya bunu eklemek istediğimde
İşaretli yere ne şekilde eklemem gerekiyor f5 butonun 1. sıradakine basınca f8 butonundaki fonksiyonu açabilmesi için
game.py:
onPressKeyDict[app.DIK_F8] = lambda : self.__PressF8Key()
F8 botununa basınca ise ;
game.py:
def __PressF8Key(self):
self.interface.ToggleIkashopSearchShopBoard()
Bu şekilde çalışmasında problem yok
lakin f5 butonu içerisine 1. sıraya bunu eklemek istediğimde
uispeedbutton.py:
def ButtonEvent(self,arg):
if int(arg) == 1:
if app.GetTime() > self.Button1_Timer:
# net.SendChatPacket("/open_shop")
self.Button2_Timer = app.GetTime() + 1
else:
Button1_TimerInfo = self.Button1_Timer - app.GetTime()
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.INFORMATION_TIME_CLICK % (Button1_TimerInfo))
İşaretli yere ne şekilde eklemem gerekiyor f5 butonun 1. sıradakine basınca f8 butonundaki fonksiyonu açabilmesi için