Jump to content

Recommended Posts

Hi. I have problem. I added costume weapon system but now i can't equip sash or costume mount bcs:

	if (item->GetType() == ITEM_COSTUME && item->GetSubType() >= COSTUME_WEAPON_SWORD)
    {
        LPITEM weapon = GetWear(WEAR_WEAPON);
        if (!weapon)
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You must equip weapon first"));
            return false;
        }
        if (weapon->GetSubType() + COSTUME_WEAPON_SWORD != item->GetSubType())
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You must equip costume weapon with same type of weapon"));
            return false;
        }
    }
	

How i can fix it? Can you help me guys? I have this error: You must equip costume weapon with same type of weapon

Link to comment
https://metin2.dev/topic/14006-weapon-costume-system-sashcostume-mount/
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

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.