External Skinchanger -- Need Help
So I have this function:
void WriteSkin(int x, DWORD ent)
{
fProcess.Write<int>((ent + xuidLow), 0); //xuidlow
fProcess.Write<int>((ent + xuidHigh), 0); //xuidhigh
fProcess.Write<int>((ent + itemIDH), 0); //itemidhigh
fProcess.Write<int>((ent + itemPaint), x); //paint
fProcess.Write<int>((ent + itemWear), 0.00001f); //wear
cstate = fProcess.Read<DWORD>(fProcess.__dwordEngine + enginepos);
fProcess.Write<int>((cstate + deltatick), -1); //force update
}
I have double checked the offsets, and the "x" is the weapon skin. When I run this, which I have a key for, it does not change my skin. When I shoot, I start lagging, which I think is the fault of the force update. Does anyone know what I did wrong?
//Note: I have searched for hours on this topic. I have come here for a quick answer so don't shitstorm me with "google it"
void WriteSkin(int x, DWORD ent)
{
fProcess.Write<int>((ent + xuidLow), 0); //xuidlow
fProcess.Write<int>((ent + xuidHigh), 0); //xuidhigh
fProcess.Write<int>((ent + itemIDH), 0); //itemidhigh
fProcess.Write<int>((ent + itemPaint), x); //paint
fProcess.Write<int>((ent + itemWear), 0.00001f); //wear
cstate = fProcess.Read<DWORD>(fProcess.__dwordEngine + enginepos);
fProcess.Write<int>((cstate + deltatick), -1); //force update
}
I have double checked the offsets, and the "x" is the weapon skin. When I run this, which I have a key for, it does not change my skin. When I shoot, I start lagging, which I think is the fault of the force update. Does anyone know what I did wrong?
//Note: I have searched for hours on this topic. I have come here for a quick answer so don't shitstorm me with "google it"