Jump to content

weapon costume swap / take off


Recommended Posts

Hello guys, my problem is that everyone has if they using this system..
1. So i want that if i equipped the weapon costume after i unequip the weapon then automatically unequip the costume too
2. When i euqipped the costume then i can swap my weapon
3. sorry for my bad English :'c

i think know wehere to do but im not a programmer so i can not realize

1.
#ifdef __WEAPON_COSTUME_SYSTEM__
#ifdef __NEW_ARROW_SYSTEM__
    if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW && item->GetSubType() != WEAPON_UNLIMITED_ARROW)
#else
    if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW)
#endif
    {
        LPITEM pkItem = GetWear(WEAR_COSTUME_WEAPON);
        if (pkItem)      <--- in this if need some changes right here to unequip the costume I'm right?  (this is unequip)
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("For can do this unwear the costume weapon.")); 
            return false;
        }
    }
#endif

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.