post code /2short
Hello MPGh, i made a glove changer today but the gloves are chrome for some reason. What is the problem.
Im getting error that material cant be set on CEconWearable
Code:*glove->GetItemDefinitionIndex2() = 5027; *glove->OriginalOwnerXuidHigh() = -1; *glove->GetEntityQuality() = 4; *glove->GetAccountID() = localplayer_info.xuidlow; *glove->FallbackWear() = 0.00000001f; *glove->FallbackSeed() = 0; *glove->FallbackStatTrak() = -1; *glove->FallbackPaintKit() = 10006 ((TheClientEnt*)glove)->SetModelVirtual(Interfaces::ModelInfo- >GetModelIndex(GameUtils::GetModelByIndex(*glove->GetItemDefinitionIndex2()))); glove->FrameDataUpdata(0);Code:void SetModelVirtual(int index) { typedef void(__thiscall* SetModelIndexFn)(void*, int); call_vfunc<SetModelIndexFn>(this, 75)(this, index); }
Last edited by jokjok123; 07-18-2017 at 03:34 AM.
post code /2short
Current Projects:TurtleCheat GlowESP BunnyHopHelixGlow (With Permission from nullptr_t)
There you have, the code you wanted.
Code:*glove->GetItemDefinitionIndex2() = 5027; *glove->OriginalOwnerXuidHigh() = -1; *glove->GetEntityQuality() = 4; *glove->GetAccountID() = localplayer_info.xuidlow; *glove->FallbackWear() = 0.00000001f; *glove->FallbackSeed() = 0; *glove->FallbackStatTrak() = -1; *glove->FallbackPaintKit() = 10006 ((TheClientEnt*)glove)->SetModelVirtual(Interfaces::ModelInfo- >GetModelIndex(GameUtils::GetModelByIndex(*glove->GetItemDefinitionIndex2()))); glove->FrameDataUpdata(0);Code:void SetModelVirtual(int index) { typedef void(__thiscall* SetModelIndexFn)(void*, int); call_vfunc<SetModelIndexFn>(this, 75)(this, index); }
Show fu code lol nobody can help you when you just show this..
LMAO......