Guest User

Untitled

a guest
Jan 17th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. void CMiscHacks::viewmodelchanger(CUserCmd *pCmd)
  2. {
  3. int fov = Menu::Window.VisualsTab.HandFov.GetValue();
  4.  
  5. ConVar* Meme = Interfaces::CVar->FindVar("viewmodel_fov");
  6. *(int*)((DWORD)&Meme->fnChangeCallback + 0xC) = NULL;
  7. Meme->SetValue(fov);
  8.  
  9. int fovview = Menu::Window.VisualsTab.ViewFov.GetValue();
  10.  
  11. ConVar* Lele = Interfaces::CVar->FindVar("fov_cs_debug");
  12. *(int*)((DWORD)&Lele->fnChangeCallback + 0xC) = NULL;
  13. Lele->SetValue(fovview);
  14. }
Add Comment
Please, Sign In to add comment