. I decided to make it public so servers can patch this quickly since there are a few servers that still use the !afk command.//For sending the command to the console typedef int(*__cdecl SendCmdToCon_0x4EB8F0)(int, int, char*); SendCmdToCon_0x4EB8F0 SendCmd = (SendCmdToCon_0x4EB8F0)0x4EB8F0; char Buff[50]; sprintf_s(Buff, "cmd mr %d 9 custom1", (DWORD)GetMagicNumberAddress()); //GetMagicNumberAddress == server id SendCmd(0, 0, Buff); // char Buff1[50]; sprintf_s(Buff1, "say !afk", (DWORD)GetMagicNumberAddress()); SendCmd(0, 0, Buff1); //By sending the force class and right after that the !afk command it will get you into spectator mode with a weapon all the time.:D
