Ищешь строку static IDebugOverlay* DebugOverlay();
вставляешь после нее
static IGameTypes* GameTypes();
static IGameTypes* g_GameTypes;
ищешь class IDebugOverlay
и вставляешь перед ним
class IGameTypes
{
public:
virtual ~IGameTypes() {}
virtual bool Initialize(bool force) = 0;
virtual bool IsInitialized() const = 0;
virtual bool SetGameTypeAndMode(const char *gameType, const char *gameMode) = 0;
virtual bool GetGameTypeAndModeFromAlias(const char *alias, int &gameType, int &gameMode) = 0;
virtual bool SetGameTypeAndMode(int gameType, int gameMode) = 0;
virtual void SetAndParseExtendedServerInfo(void *pExtendedServerInfo) = 0;
virtual bool CheckShouldSetDefaultGameModeAndType(const char *mapName) = 0;
virtual int GetCurrentGameType() const = 0;
virtual int GetCurrentGameMode() const = 0;
virtual const char *GetCurrentMapName() = 0;
virtual const char *GetCurrentGameTypeNameID() = 0;
virtual const char *GetCurrentGameModeNameID() = 0;
};
ищешь CEffects* Interfaces::Effects()
и вставляешь после него
IGameTypes* Interfaces::GameTypes()
{
if (Interfaces::Engine()->IsInGame())
{
if (!g_GameTypes)
{
CreateInterfaceFn pfnFactory = CaptureFactory("matchmaking.dll");
g_GameTypes = CaptureInterface<IGameTypes>(pfnFactory, "VENGINE_GAMETYPES_VERSION00");
}
return g_GameTypes;
}
}
ищешь CEffects* Interfaces::g_pEffects = nullptr;
и вставляешь
IGameTypes* Interfaces::g_GameTypes = nullptr;
ищешь if (!SDK::Interfaces::DebugOverlay())
и вставляешь
if (!SDK::Interfaces::GameTypes())
{
return false;
}
ищешь if (!Settings::Aimbot::aim_Deathmatch && pPlayer->Team == m_pLocal->Team)
и заменяешь его на
if (!Settings::Aimbot::aim_Deathmatch && pPlayer->Team == m_pLocal->Team && SDK::Interfaces::g_GameTypes->GetCurrentGameMode() != 6)