Update Interfaces.cpp

This commit is contained in:
0TheSpy
2022-11-14 13:23:12 +03:00
committed by GitHub
parent 4a9fb81608
commit 41a722d914

View File

@ -241,10 +241,11 @@ void NETSetConVar(const char* cvarname, const char* cvarvalue)
//__asm pushad
char name[1024]; char value[1024];
ZeroMemory(name, 1024); ZeroMemory(value, 1024);
strcpy(name, cvarname);
strcpy(value, cvarvalue);
static void* pvSetConVar = (void*)FindPatternV2(XorStr("engine.dll"), XorStr("8D 4C 24 1C E8 ? ? ? ? 56"));
static void* pvSetConVar = (void*)FindPatternV2(("engine.dll"), ("8D 4C 24 1C E8 ? ? ? ? 56"));
printfdbg("NETSetConVar %s %s\n", cvarname, value);
@ -279,4 +280,4 @@ void ShowMenu(std::string text)
}
}