Milkee 2 Posted July 31, 2023 Share Posted July 31, 2023 Hello guys, my problem is that everyone has if they using this system.. So i want that if i equipped the weapon costume after i unequip the weapon then automatically unequip the costume too When i euqipped the costume then i can swap my weapon i 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 i think 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 Quote Link to post Share on other sites
ScriptMan 5,139 Posted July 31, 2023 Share Posted July 31, 2023 WTF MAN? Quote Link to post Share on other sites
Milkee 2 Posted August 3, 2023 Author Share Posted August 3, 2023 On 8/1/2023 at 12:49 AM, ScriptMan said: WTF MAN? Szia. Egyébként magyar vagyok, csak máshova is kilett posztolva a probléma, igazság szerint csak annyit szeretnék elérni hogy a fegyvert tudd cserélni úgy hogy ne vegye le a kosztümöt viszont ha leveszed a fegyvert vegye le a kosztümöt is, mint sok szerveren, például Solaris stb.. 1 Quote Link to post Share on other sites
Pisti95 3,606 Posted August 6, 2023 Share Posted August 6, 2023 Írj skype-on, és segítek benne! Quote Link to post Share on other sites
Milkee 2 Posted August 8, 2023 Author Share Posted August 8, 2023 On 8/7/2023 at 1:23 AM, Pisti95 said: Írj skype-on, és segítek benne! Szia. Elvüleg írtam ha a tiéd ez a skype 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.