RunConsoleCommand
Is anyone else having combat arms crash within a minute of injecting using RunConsoleCommand. My address isn't wrong, I just updated them this morning after yesterdays maintenance. Everything else works fine just anything that using runconsolecommand is causing a crash.
Im using
Im using
Code:
void __cdecl Console( const char* szCommand )
{
static DWORD rccAdr = NULL;
if(!rccAdr)
rccAdr = dwLTClientEXE;
typedef void(__cdecl*RunConsoleCommandFn)(const char*,int&);
RunConsoleCommandFn RunConsoleCmd = (RunConsoleCommandFn)rccAdr;
int v4;
RunConsoleCmd(szCommand,v4);
}


![=]](/forum/images/emotions/=].gif)

