Is this working PTC?
Title says all. Is this working PTC?
Because, when I tried PushToConsole("WireFrameModels 1"); Game will crash
void __cdecl PushToConsole(char* Command )
{
DWORD CShell = (DWORD)GetModuleHandleA(EncCShell);
if( CShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (CShell + 0x4A4B64) );
void* CallOffset = ( void* )*( DWORD* )( *LTClient + 0x200 );
_asm
{
push Command;
call CallOffset;
add esp, 0x4;
}
}
}