❓ Glove Changer Problem! Gloves are Chrome

Posts 1–5 of 5 · Page 1 of 1
❓ Glove Changer Problem! Gloves are Chrome
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);
	}
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..
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags

None

Talk with us