Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IClientEntity* pLocal = hackManager.pLocal();
- float server_time = pLocal->GetTickBase() * Interfaces::Globals->interval_per_tick;
- if (bSendPacket)
- {
- pCmd->viewangles.y += (float)(fmod(server_time / 0.80f * 360.0f, 360.0f));
- }
- else
- {
- pCmd->viewangles.y -= (float)(fmod(server_time / 0.80f * 360.0f, 360.0f));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement