melankolıa18 1
melankolıa18
romegames 1
romegames
Krutzo 1
Krutzo
shrpnl 1
shrpnl
Best Studio 1
Best Studio
D 1
delimuratt
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Aeldra side menu

  • Konuyu başlatan Konuyu başlatan Tr3ll
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 461

Tr3ll

Level 1
Üye
Katılım
17 Kas 2023
Konular
1
Mesajlar
4
Online süresi
1d 13h
Reaksiyon Skoru
2
Altın Konu
0
TM Yaşı
2 Yıl 6 Ay 19 Gün
Başarım Puanı
27
MmoLira
816
DevLira
0
Ticaret - 0%
0   0   0

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

I tried to add this system https://forum.turkmmo.com/konu/3831639-c-python-adalet-aeldra-yan-menu/


How can I add some functions on the buttons, inventory, special inventory or something else? An example would help


[CODE title="uiinventory"] def __LoadWindow(self):
if self.isLoaded == 1:
return
self.isLoaded = 1
try:
pyScrLoader = ui.PythonScriptLoader()
pyScrLoader.LoadScriptFile(self, "UIScript/FastInventoryWindow.py")
except:
import exception
exception.Abort("FastInventoryWindow.LoadWindow.LoadObject")
try:
self.wndFastInventoryLayer = self.GetChild("FastInventoryLayer")
self.GetChild("Menu_1").SetEvent(ui.__mem_func__(self.ClickMenu1))
self.GetChild("Menu_2").SetEvent(ui.__mem_func__(self.ClickMenu2))
self.GetChild("Menu_3").SetEvent(ui.__mem_func__(self.ClickMenu3))
self.GetChild("Menu_4").SetEvent(ui.__mem_func__(self.ClickMenu4))
self.GetChild("Menu_5").SetEvent(ui.__mem_func__(self.ClickMenu5))
except:
import exception
exception.Abort("FastInventoryWindow.LoadWindow.BindObject")[/CODE]


Sysser

Kod:
1217 15:16:15523 ::
uiInventory.py(line:1015) __LoadWindow

FastInventoryWindow.LoadWindow.BindObject - <type 'exceptions.AttributeError'>:'FastInventoryWindow' object has no attribute 'ClickMenu1'

1217 15:16:15523 :: ============================================================================================================
1217 15:16:15524 :: Abort!!!!


1217 15:16:15525 ::
uiInventory.py(line:1125) __LoadWindow
uiInventory.py(line:973) __init__
uiInventory.py(line:1022) __LoadWindow
exception.py(line:36) Abort

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.SystemExit'>:

1217 15:16:15525 :: ============================================================================================================
1217 15:16:15525 :: Abort!!!!
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst