Fethi Polat 1
Fethi Polat
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Best Studio 1
Best Studio
Agora Metin2 1
Agora Metin2
raderde 1
raderde
Cannn6161 1
Cannn6161
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Mt2Hizmet 1
Mt2Hizmet
melankolıa18 1
melankolıa18
romegames 1
romegames
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com
Kaynak ikonu

[PY] Premium Affect Göster/Gizle 1

indirmek için izniniz yok
Sol üstteki iconları gösterip gizlemeye yarar.

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
  • 17-AffectHide.PNG
    17-AffectHide.PNG
    315.5 KB · Görüntüleme: 0
  • 17-AffectShow.PNG
    17-AffectShow.PNG
    365.4 KB · Görüntüleme: 0
Yazar
Replicant
Kaynak İndirilme
61
Görüntüleme
367
İlk yayınlama
Son Güncelleme

Ratings

0.00 yıldız(lar) 0 rating

Replicant - Kaynakları

Geri
Üst