Jump to content

Recommended Posts

  • Premium

Hi there,

 

I have this function in game.py:

def __MakePortring(self, qid):
        constInfo.PortRingqin= int(qid)

 

But how to make that function from this interfacemodule.py?

def testcommand(self):
        self.game.__MakePortring(self, qid)   

i wanna send the same command, but from the function in interfacemodule.py

 

 

FreeHugs to all
 

 

if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
https://metin2.dev/topic/17240-interfacemodulepy/
Share on other sites

  • Premium
On 08/11/2017 at 11:04 PM, Салом said:


def __MakePortring(self, qid):
        constInfo.PortRingqin= int(qid)

Under


	def EmptyFunction(self):
		pass

:ph34r:

oO?  i realy din't understand....

if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

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