[Solved] C++ D3D Single Player
I need an answer... I'm currently busy with a C++ D3D hack and I need a recognition if the game is running active or not. I have been asking around and there is no such thing as an IsInGame pointer/address, so the only option would be with reading another address/pointer and I tried but still my iw5sp is crashing... I used this code [I just started with this so it could be wrong, though i dont get any Compiler errors]
Code:
bool indication()
{
float var;
var = *(float*)(*(int*)0x1D31404 +0xC);
if(var != 0)
return true;
}
void Hacks()
{
if(indication)
{
//hacks
}
}



