diff --git a/csgo2/offset.cpp b/csgo2/offset.cpp index b84f50d..a288b19 100644 --- a/csgo2/offset.cpp +++ b/csgo2/offset.cpp @@ -54,6 +54,7 @@ auto Init() -> bool { CModule schemasystem("schemasystem.dll"); CModule engine("engine2.dll"); CModule localize("localize.dll"); + CModule tier0("tier0.dll"); // engine.dll engine.FindPattern(pattern_MaxPlayerNumsPtr) @@ -89,7 +90,7 @@ auto Init() -> bool { InterFaces::ILocalize = reinterpret_cast( localize.FindInterface("Localize_001").Get()); InterFaces::IVEngineCvar = reinterpret_cast( - engine.FindInterface("VEngineCvar007").Get()); + tier0.FindInterface("VEngineCvar007").Get()); InterFaces::GameResourceServiceServer = reinterpret_cast(