thats an invalid if condition
Originally Posted by CoderNever
idk why u all using inline asm to call the function. we use c++ so use c++ to call it.
Originally Posted by Tyrannus
i think he wants to be awesome lol. i bet he doesnt even know what add esp, 4 actually does (i dont mean adding 4 to the stackpointer)
typedef int (__cdecl* RunConsoleCommand_t)(char* szCmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)address;