Code:
HRESULT WINAPI gellDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
LPDIRECT3DVERTEXBUFFER9 StreamData;
UINT Offset = 0;
UINT m_Stride = 0;
if(pDevice->GetStreamSource(0,&StreamData,&Offset,&m_Stride) == D3D_OK)
StreamData->Release();
if(Menu.mOpt[30].nopt == 2.00f)
{
if (m_Stride == 44 || m_Stride == 36 || m_Stride == 32)
{
pDevice->SetTexture(0,texOrange);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDIP(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,texRed);
}
}
return pDIP(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
Im not gonna put the whole source so yeah people like Void, blood, longevity please help me out for some reaosn the chams doesnt show up
So yeah I dont wanna share the hook