Hack Function not working after leaving the room
Why does NoFlash not work after the match finished?
Code:
int main()
{
cout << "searching for cs:go" << endl;
gameWindow = FindWindow(NULL, "Counter-Strike: Global Offensive");
while (!gameWindow)
{
gameWindow = FindWindow(NULL, "Counter-Strike: Global Offensive");
Sleep(300);
}
Memory.Process("csgo.exe");
DWORD dwBaseAddress = Memory.GetModuleBaseAddress("client.dll");
DWORD dwlocalplayer = Memory.ReadMemory<DWORD>(dwBaseAddress + offsets.m_localplayer);
noFlash(); // void function to call
return 0;
}
Because your localplayer has updated so check your localplayer every 5 sec or so, and if that doesnt work give us the source of "noFlash()"
Your no flash function isn't updating the localplayer, which changes whenever the map changes or you connect to a new server.