FuveZeq 0 Posted July 31, 2023 Share Posted July 31, 2023 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now