Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
fix IVEngineCvar
Browse files Browse the repository at this point in the history
  • Loading branch information
huoji120 committed Oct 9, 2023
1 parent c957101 commit 56a4e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion csgo2/offset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -89,7 +90,7 @@ auto Init() -> bool {
InterFaces::ILocalize = reinterpret_cast<CLocalize*>(
localize.FindInterface("Localize_001").Get());
InterFaces::IVEngineCvar = reinterpret_cast<ICvar*>(
engine.FindInterface("VEngineCvar007").Get());
tier0.FindInterface("VEngineCvar007").Get());

InterFaces::GameResourceServiceServer =
reinterpret_cast<CGameResourceService*>(
Expand Down

0 comments on commit 56a4e14

Please sign in to comment.