Jump to content
  • Create New...
  • 0

Weapon costume system + sash/costume mount



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
  • Answers 9
  • Created
  • Last Reply

Top Posters For This Question

9 answers to this question

Recommended Posts

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

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.