Jump to content

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Search:

self.mallButton = self.GetChild2("MallButton")

And under adds:

self.teleport_buttonClick = self.GetChild2("TeleportButton")

Search:

self.mallButton.SetEvent(ui.__mem_func__(self.ClickMallButton))

And under adds: 

self.teleport_buttonClick.SetEvent(ui.__mem_func__(self.teleport_buttonClick))

Search:

def ClickMallButton(self):

And under adds:

def teleport_buttonClick(self):
		import uiteleport
		self.teleport = uiteleport.TeleportWindow()
		self.teleport.Open()

In inventorywindow.py add new button with the name "TeleportButton" and test

Link to comment
https://metin2.dev/topic/17455--/#findComment-95656
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.