Closed JimmyBassy closed 5 years ago
1º You need add the ICVar class to your SDK folder
2º Capture the interface in interface.cpp
g_pCvar = CaptureInterface<ICVar>("vstdlib.dll", "VEngineCvar007");
3º usage example:
ConVar* sv_grenadepreview = g_pCvar->FindVar("cl_grenadepreview"); sv_grenadepreview->SetValue(1);
Thanks dude!
I would like to know how can I edit Cvars with this base and if it's not possible what do I have to add to get a CVar editor/modifier. Btw very nice base I'm learning a lot with it! Thank you!