Hey guys
i am very close to make my hack
but i need to add Wall Hack
i am trying to do it but have problem :
Code:
//Wallhack
IDirect3DVertexBuffer9* pStreamData = NULL;
UINT iOffsetInBytes,m_Stride;
pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&Stride);
if(wallhack)
{
if (PlayerBody)
{
DWORD dwReEnableZB = D3DZB_TRUE;
//Note to Retards: Change psyDevice to your D3D9Device.
pDevice->GetRenderState(D3DRS_ZENABLE, &dwReEnableZB);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC, D3DCMP_NEVER);
}
}
Code:
#define PlayerBody ( Stride == 44 || Stride == 40 )
#include <d3d9.h>
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"d3dx9.lib")
UINT Stride;
Any help please ?
BTW i was trying to add no recoil i asked my friend he told me the string name but i can only find 3 offest
and others say 45-50 offest for prefect No recoil
so how i can find the 50 offest ?
i will give credit for all who helped me
