Advertisement
Guest User

nospread thinky

a guest
Jul 25th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. IClientEntity* pLocal = hackManager.pLocal();
  2. float server_time = pLocal->GetTickBase() * Interfaces::Globals->interval_per_tick;
  3.  
  4. if (bSendPacket)
  5. {
  6. pCmd->viewangles.y += (float)(fmod(server_time / 0.80f * 360.0f, 360.0f));
  7. }
  8. else
  9. {
  10. pCmd->viewangles.y -= (float)(fmod(server_time / 0.80f * 360.0f, 360.0f));
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement