Jump to content

HOW ADD ATTRIBUTE TO WEAPON COSTUME?


Go to solution Solved by ShyD,

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

solved: 

open serversource game/src/item_attribute.cpp

find 

else if (GetType() == ITEM_COSTUME)
    {
        switch (GetSubType())
        {
            case COSTUME_BODY: // ??? ??? ?? ??? ??? Attribute Set? ???? ???? ?? (ARMOR_BODY == COSTUME_BODY)
                return ATTRIBUTE_SET_BODY;

            case COSTUME_HAIR: // ??? ??? ?? ?? ???? ??? Attribute Set? ???? ???? ?? (ARMOR_HEAD == COSTUME_HAIR)
                return ATTRIBUTE_SET_HEAD;

 

add

            case COSTUME_WEAPON:
                return ATTRIBUTE_SET_WEAPON;

compile & have fun - special thanks to @S4nta❤️

Edited by ShyD
Link to comment
Share on other sites

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.