HelpGloves

Posts 111 of 11 · Page 1 of 1
Gloves
Does anyone know an open source for the gloves?
Quote Originally Posted by Calm View Post
Does anyone know an open source for the gloves?
Yea theres something on another forum. If you want the ghetto way, (trash way) set it with DME hook.
hook findmdl and do it that way
Quote Originally Posted by Strexyyy View Post
hook findmdl and do it that way
that way sucks too
Quote Originally Posted by WildAssassinz View Post
that way sucks too
How will it suck?
Quote Originally Posted by Calm View Post


How will it suck?
Never tried it, I only did it with DME, but I think it replaces the whole arm model like DME does.
If you are not busy, and know something about what you are doing, then here you go. It works if you can figure it out.

Code:
if (true)
    {
        if (!I::EntList->GetClientEntityFromHandle(hWearables[0]))
        {
            static ClientClass* pClass;
 
            if (!pClass)
                pClass = I::BaseClient->GetAllClasses();
                while (pClass)
                {
                    if (pClass->m_ClassID == CEconWearable)
                        break;
                    pClass = pClass->m_pNext;
                }
 
            int iEntry, iSerial;
 
            pClass->m_pCreateFn(iEntry = (I::EntList->GetHighestEntityIndex() + 1), iSerial = (RandomInt(0x0, 0xFFF)));
            hWearables[0] = iEntry | (iSerial << 16);
 
            IClientEntity* pEnt = I::EntList->GetClientEntityFromHandle(hWearables[0]);
 
            if (pEnt)
            {
                *MakePtr(int, pEnt, gOffset.m_iItemDefinitionIndex) = 5033;
                *MakePtr(int, pEnt, gOffset.m_iItemIDHigh) = -1;
                *MakePtr(int, pEnt, gOffset.m_iEntityQuality) = 4;
                *MakePtr(int, pEnt, gOffset.m_iAccountID) = info.xuidlow;
                *MakePtr(float, pEnt, gOffset.m_flFallbackWear) = 0.00000001f;
                *MakePtr(int, pEnt, gOffset.m_nFallbackSeed) = 0;
                *MakePtr(int, pEnt, gOffset.m_nFallbackStatTrak) = -1;
                *MakePtr(int, pEnt, gOffset.m_nFallbackPaintKit) = 10026;
                pEnt->SetModelIndex(I::ModelInfo->GetModelIndex("models/weapons/v_models/arms/glove_motorcycle/v_glove_motorcycle.mdl"));
                pEnt->GetClientNetworkable()->PreDataUpdate(DATA_UPDATE_CREATED);
            }
        }
        
    }
Credits: boris768
AimTux has a glove changer on GitHub
Quote Originally Posted by 33pwnt33 View Post
AimTux has a glove changer on GitHub
Yeh AimTux is the way to go Great source to look through.
I do not know anything about programming c ++ SOME PLEASE TEACH ME HOW TO USE HACK OPEN SOURCE CODES I SIMPLY DO NOT KNOW
Quote Originally Posted by kakurno View Post
I do not know anything about programming c ++ SOME PLEASE TEACH ME HOW TO USE HACK OPEN SOURCE CODES I SIMPLY DO NOT KNOW
lmao there is so much public stuff about gloves that you should be able to make a glove changer effortlessly
Posts 111 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?