Jump to content

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

root/uiGameButton.py:

//Search:

		if 0 == player.GetPlayTime():
			helpButton.Show()
		else:
			helpButton.Hide()

//Replace with:

		import constInfo
		if (constInfo.TableFunc(1)) == "Enable":
			if player.GetPlayTime() == (constInfo.TableFunc(2)):
				helpButton.Show()
			else:
				helpButton.Hide()	
		elif (constInfo.TableFunc(1)) == "Disable":
			helpButton.Hide()

root/constInfo.py:

def TableFunc(o):
	i = {
		1	:	"Disable", # Enable or Disable for check function
		2	:	0} # The time for check if u have time 0 show you button
		
	if i.has_key(o):
		return i[o]

 

I hope this is what you wanted, or did not understand well. My English is shit, sorry.

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.