Simple PTC command not working
Code:
void __cdecl hMenuCore::PushToConsole( const char* szCommand )
{
DWORD* addr = ( DWORD* ) LTClientEXE;
if(*(BYTE*)ADDR_GAMESTATUS == 1)
{
__asm
{
Pushad;
Push szCommand
call addr
add esp, 0x4
Popad;
}
}
}
the commands just dont work in game
i tried PushToConsole("ShowFps 1") ,PushToConsole("FogEnable 1" ) and nothing happens
Thanks
