Jump to content

Recommended Posts

Hi all, i have a little problem with my sidebar in invetorypage, i make 3 buttons and the script start only the first buton but the 2 after him no....

my scripts in uiinventory.


    self.wiki = self.GetChild2("wiki")


        # Wiki
        if self.wiki:
            self.wiki.SetEvent(ui.__mem_func__(self.Clickwiki))


    def Clickwiki(self):
        import uiwiki
        self.interface.AgeofPlatonWiki()


and i try like that to.

        import uiwiki
        wiki.AgeofPlatonWiki().Show()

    def Clickwiki(self):


pls help

Link to comment
https://metin2.dev/topic/12240-sidebar-problem/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

uiInventory.py

    def Clickwiki(self):
        self.interface.AgeofPlatonWiki()

interfaceModule.py

	def AgeofPlatonWiki(self):
		if self.getClass.IsShow():
			self.getClass.Hide()
		else:
			self.getClass.Show()	

#Search:
		self.bigBoard = None
#Add bellow:
		import uiWiki
		self.getClass = uiWiki.AgeofPlatonWiki()	

 

 

Link to comment
https://metin2.dev/topic/12240-sidebar-problem/#findComment-70986
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.