Jump to content

Do not show target bar on mob with specific vnum


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! 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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! 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 1

      Where can i found the armors

    2. 1

      Where can i found the armors

    3. 0
    4. 0

      [Advice]Clever way to add just specific bonuse range from item_attr_rare?

    5. 28

      Experimental Renderer

    6. 80

      Ship Defense (Hydra Dungeon)

    7. 11

      Loyal Metin2 Homepage

    8. 0

      Metin2Hyperion PvM 120 easy

    9. 29

      Shiva.international | Finest Oldschool | Official Start 16.09.2022

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.