Here is an Alternative way for PTC/LTC Method, in case some of you dont have it.
Code:
void __cdecl Push(char* szVal)
{
void* vSetVar = (void*)0x46F670;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
Or
Code:
void __cdecl PushToConsole(char* szVal)
{
void* vSetVar = (void*)0x46F670;
_asm
{
push szVal
call vSetVar
add esp, 4
}
}
Or Normal Way
Code:
//void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377ED7A4 );//Updated With latest
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
☻
I Take No Credit.
Credits to whoever made that way in the firstplace