Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

PetName like the horse how-to ?



Hi, I want to do the petname system like the horse system, if we use the thing to rename the horse, I want that the pet has the same name and if we don't have rename the horse then the default name of the pet is like "Pet's Name" like in my 2089m game


Someone can help me ? I don't find how-to :(



Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0


pet.summon(mobVnum, horse.get_name(), false)

The problem is the one that there's the name of the carachter before the horse name like


PlayerNamePETName and not PetName



You should edit source



	std::string petName = m_pkOwner->GetName();


	std::string petName = "";

It works



Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Activity

    1. 1

      Looking for a good designer

    2. 2

      Where are those maps/dungeons coming from?

    3. 3

      Press F10 to close the client immediately

    4. 2

      Where are those maps/dungeons coming from?

    5. 2

      Where are those maps/dungeons coming from?

    6. 4

      Visual studio 2022 compiling issue

    7. 1

      Count players function

    8. 64
  • 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.