-
Автор темы
- #1
//this will allow you to disable interpolation on any server
in hooks.cpp
in include.h
in hooks.cpp
Код:
bool __fastcall hkdIsPlayingTimeDemo(void* ecx, void*)
{
static auto call = Ikaros.m_pNeeded->FindPattern("client.dll","84 C0 74 07 C6 05");
if (Ikaros.m_pCvars->LagFix)
{
if (Ikaros.m_pEngine->IsInGame() || Ikaros.m_pEngine->IsConnected())
{
if (_ReturnAddress() == (void*)call)
return true;
}
}
return pEngineHook->Function<IsPlayingTimeDemoFn>(78)(ecx);
}
Код:
typedef bool(__fastcall* IsPlayingTimeDemoFn)(void* ecx);
extern bool __fastcall hkdIsPlayingTimeDemo(void* ecx, void*);