Here is what I learned about C++ and VB,
1. Take a whole bunch of sh!t that looks like mumbo jumbo
2. Make your left and a fist
3. Click and drag the mouse and alternate between punching the keyboard and the screen
4. Hopefully you end up with something like this
5. Don't try compiling this, I messed it up and used an old base, im not gonna give you my chams base code

Defines-
bool Chams;
UINT m_Stride;
LPDIRECT3DTEXTURE9 texGreen;
LPDIRECT3DTEXTURE9 texYellow;
Above Initialize()-
HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
{
if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
return E_FAIL;
WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
|(WORD)(((colour32>>20)&0xF)<<8)
|(WORD)(((colour32>>12)&0xF)<<4)
|(WORD)(((colour32>>4)&0xF)<<0);
D3DLOCKED_RECT d3dlr;
(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
WORD pDst16 = (WoRD*)d3dlr.pBits,
for(int xy=0; xy < 8*8; xy++)
*pDst16++ = colour16;
(*ppD3Dtex)->UnlockRect(0);
return S_OK;
}
Initialize()-
GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
DrawIndexedPrimitive-
if (Chams)
{
if (m_Stride == 44)
{
DWORD dwOldZEnable = D3DZB_TRUE;
m_pD3Ddev->SetTexture(0, texYellow);
m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
m_pD3Ddev->SetTexture(0, texGreen);
}
}
BeginScene-
if (GetAsyncKeyState(VK_INSERT)&1)
{
Chams = !Chams;
}