Jump to content

Recommended Posts

Hello,

How Can I disable showing target bar on mob with specific vnum?

I have already tried this in "def Open":

			if self.GetTargetVID() == 6 or self.GetTargetVID() == 34001:
				self.Hide()	

But it is not working.. Target bar is still showing..
Could somebody help me, please?
Thanks

If I helped you, do not forget to press "Thanks" button! 

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium

Try this:

def Open(self, vid, name):
// After the vid exists check
	if vid == 6 or vid == 34001:
		self.Hide()

But you can always help yourself with a information print in the gamechat i don't know if the argument is the actual vnum.

 

14 minutes ago, Fleon said:

Try this:


def Open(self, vid, name):
// After the vid exists check
	if vid == 6 or vid == 34001:
		self.Hide()

But you can always help yourself with a information print in the gamechat i don't know if the argument is the actual vnum.

 

I have already tried something like that.. But thanks.

If I helped you, do not forget to press "Thanks" button! 

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.