PushToConsole Command not working
Hey,
is the pushtoconsole command not working anymore ???
Here's my code,
Code:
Checking..
bool IsGameReadyForHook()
{
if( GetModuleHandle( (LPCWSTR)"d3d9.dll" ) != NULL
&& GetModuleHandle( (LPCWSTR)"ClientFX.fxd" ) != NULL
&& GetModuleHandle( (LPCWSTR)"CShell.dll" ) != NULL )
return true;
return false;
}
PTC...
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377C9B80 );
__asm pushad;
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
__asm popad;
}
Calling it in EndScene || Thread
PushToConsole("SkelModelStencil 1");
I don't get any crashe's or what so ever.
Just no results. :S
Any advice?