Need help at a PTC Function
Hey guys, I'm currently writing a PTC function, the Address for Engine I got from
http://www.mpgh.net/forum/224-combat...12-2011-a.html
but ingame nothing happens:
And the call is:
http://www.mpgh.net/forum/224-combat...12-2011-a.html
but ingame nothing happens:
Code:
#define ADR_ENGINE 0x485FF0
void CombatArms::ConsolePush(const char *szCommand) {
__asm {
PUSH szCommand
MOV EAX, ADR_ENGINE
CALL EAX
ADD ESP, 4
}
}
Code:
CombatArms *ca = new CombatArms();
while (true) {
if (GetAsyncKeyState(VK_F10)&1) {
ca->ConsolePush("ShowFps 1");
}
}

