TuZaKK 1
TuZaKK
Bvural41 1
Bvural41
CortexAI 1
CortexAI
Test5410 1
Test5410
kaptanmikro1 1
kaptanmikro1
bList 1
bList
[DEV]AB 1
[DEV]AB
R 1
Roksam
farkmt2official 1
farkmt2official
Hikaye Ekle
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
368
İlk yayınlama
Son Güncelleme

Ratings

0.00 yıldız(lar) 0 rating

Replicant - Kaynakları

Geri
Üst