Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ang;
- hook.Add("CreateMove", "", function(ucmd)
- if(!ang) then ang = ucmd:GetViewAngles(); end
- ang = ang + Angle(ucmd:GetMouseY() * .023, ucmd:GetMouseX() * -.023, 0);
- ang.x = math.NormalizeAngle(ang.x);
- ang.p = math.Clamp(ang.p, -89, 89);
- if(ucmd:CommandNumber() == 0) then
- ucmd:SetViewAngles(ang);
- return;
- end
- -- aimbot stuff
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement