this code is completely bullshit. you cant directly push a string to the stack. the compiler would have to make an internal variable where the string will be stored and then the address of the variable pushed to the stack.. but inline asm doesnt support that, well not in the visual c++ version i use (7.1). also a call directly to a address also doesnt work with inline asm. you would have to store the address in a variable and use this variable.
that would be correct when using inline asm:
char command = "ShowFPS 1";
DWORD address = 0xDEADBEEF; //runconsolecommand address