Sol üstteki iconları gösterip gizlemeye yarar.
root/game.py içinde
arat;
altına ekle;
game.py en alta ya da müsait bir yere ekle;
root/costinfo.py müsait bir yere ekle;
root/game.py içinde
arat;
Python:
player.SetGameWindow(self)
altına ekle;
Python:
self.AffectShowHideBtn = ui.CheckBox()
self.AffectShowHideBtn.SetEvent(ui.__mem_func__(self.__AffectShow), "ON_CHECK", True)
self.AffectShowHideBtn.SetEvent(ui.__mem_func__(self.__AffectHide), "ON_UNCKECK", False)
self.AffectShowHideBtn.SetCheckStatus(constInfo.AffectShowHide)
self.AffectShowHideBtn.SetPosition(0, 0)
self.AffectShowHideBtn.Show()
game.py en alta ya da müsait bir yere ekle;
Python:
def __AffectShow(self):
constInfo.AffectShowHide = 1
if constInfo.AffectShowHide == 1:
self.affectShower.Show()
chat.AppendChat(chat.CHAT_TYPE_INFO, "<Sistem> Ikonlar gosterildi.")
def __AffectHide(self):
constInfo.AffectShowHide = 0
if constInfo.AffectShowHide == 0:
self.affectShower.Hide()
chat.AppendChat(chat.CHAT_TYPE_INFO, "<Sistem> Ikonlar gizlendi.")
root/costinfo.py müsait bir yere ekle;
Python:
AffectShowHide = 1
KANIT;
Ekli dosyayı görüntüle 57595Ekli dosyayı görüntüle 57593
Dosyalarınızda CheckBox ekli olmayabilir. ui.py'de CheckBox'ı aratıp kontrol edebilirsiniz.
Eğer yoksa altan dosyayı indirip ekleyin.
İNDİR
VİRÜSTOTAL
Ekli dosyayı görüntüle 57595Ekli dosyayı görüntüle 57593
Dosyalarınızda CheckBox ekli olmayabilir. ui.py'de CheckBox'ı aratıp kontrol edebilirsiniz.
Eğer yoksa altan dosyayı indirip ekleyin.
İNDİR
VİRÜSTOTAL