Hi all,
I'm new to the hacking scene and was wondering if I could get some help with the chams i'm coding in c++
My dilemma is that I have to define the "teams" that combat arms uses.
here is the code
Code:
void Hacks::ApplyWallHack(IDirect3DDevice9 *d3dDevice, D3DPRIMITIVETYPE device, INT baseVertexIndex, UINT MinVertexIndex, UINT Numvertices, UINT startIndex, UINT primCount);
{
if(/*team*/)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false);
d3dDevice->SetTexture(0, texGreen);
d3dDevice->DrawIndexedPrimitive(Device, baseVertexIndex, MinVertexIndex, Numvertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
if(/*team*/)
{
d3dDevice->SetRenderState(D3DRS_ZENABLE, false);
d3dDevice->SetTexture(0, texRed);
d3dDevice->DrawIndexedPrimitive(Device, baseVertexIndex, MinVertexIndex, Numvertices, startIndex, primCount);
d3dDevice->SetRenderState(D3DRS_ZENABLE, true);
}
}
If I can find out the code name or tag or whatever the game uses to define different teams then I will be able to hopefully finish the chams .
Help is very much appreciated as I am extremely new to C++ and am following a tutorial. Any constructive criticism that help me is appreciated.
Thanks