-
Автор темы
- #1
pCvar = (ICvar*)(CreateInterfaceFn(GetProcAddress(GetModuleHandleA("vstdlib.dll"), "CreateInterface")) ("VEngineCvar007", nullptr));
my game crashes on inject when i debug;
pCvar->FindVar(XorStr("cl_mouseenable"))->SetValue(1);
pInput->m_fCameraInThirdPerson = false;
pInput->m_vecCameraOffset.z = 150.f;
the error is PCvar was nullptr
my game crashes on inject when i debug;
pCvar->FindVar(XorStr("cl_mouseenable"))->SetValue(1);
pInput->m_fCameraInThirdPerson = false;
pInput->m_vecCameraOffset.z = 150.f;
the error is PCvar was nullptr
Последнее редактирование: