This is the one I use...The address is correct Code: void __cdecl pRunConsoleCommand(char* szVal) { void* vSetVar = (void*)0x485F60; _asm { push szVal call vSetVar add esp, 4 } }