void EngineCommand(char* command)
{
__asm
{
push command
push 0
push 0
mov esi, 0x004F9AB0
call esi
add esp, 0x0C
}
}
Rename: EngineCommand("name [newName]");
U can use this function to execute any command to the console ;)