Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CMiscHacks::viewmodelchanger(CUserCmd *pCmd)
- {
- int fov = Menu::Window.VisualsTab.HandFov.GetValue();
- ConVar* Meme = Interfaces::CVar->FindVar("viewmodel_fov");
- *(int*)((DWORD)&Meme->fnChangeCallback + 0xC) = NULL;
- Meme->SetValue(fov);
- int fovview = Menu::Window.VisualsTab.ViewFov.GetValue();
- ConVar* Lele = Interfaces::CVar->FindVar("fov_cs_debug");
- *(int*)((DWORD)&Lele->fnChangeCallback + 0xC) = NULL;
- Lele->SetValue(fovview);
- }
Add Comment
Please, Sign In to add comment