Jump to content

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

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

Link to post
Share on other sites
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..

  • Thanks 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...