Need help by DIP
Hey,
i need help my the DIP.
I tried this but its not working:
[PHP]
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) cDIP.Create(( BYTE* )Base.GetPointer(82) , ( BYTE* )myDrawIndexedPrimitive, 3);
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDrawIndexedPrimitive(pDevice,Type,BaseVertexIndex , MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, true) ;
return D3D_OK ;
}
typedef HRESULT(__stdcall *oDrawIndexedPrimitive)(LPDIRECT3DDEVICE9 , D3DPRIMITIVETYPE, INT, UINT, UINT, UINT, UINT) ;[/PHP]
at first i tried without string so i can see if it works. nut its not working-.- i hope u can help me.
if u need more informations i can give u
i need help my the DIP.
I tried this but its not working:
[PHP]
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) cDIP.Create(( BYTE* )Base.GetPointer(82) , ( BYTE* )myDrawIndexedPrimitive, 3);
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDrawIndexedPrimitive(pDevice,Type,BaseVertexIndex , MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, true) ;
return D3D_OK ;
}
typedef HRESULT(__stdcall *oDrawIndexedPrimitive)(LPDIRECT3DDEVICE9 , D3DPRIMITIVETYPE, INT, UINT, UINT, UINT, UINT) ;[/PHP]
at first i tried without string so i can see if it works. nut its not working-.- i hope u can help me.
if u need more informations i can give u

xD
or will I ? o.O
it yet.