Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. fh.SilentAim(ucmd)
  2. if fh.Variable["Aimbot"] and !fh.Variable["Aimbot_aimkey"] or fh.Variable["Aimbot"] and fh.Variable["Aimbot_aimkey"] and IsMouseDown(fh.Variable["Aimbot_aimkey_key"]) then
  3. if (fh.target != nil) then
  4. isAim = true
  5. local lp = LocalPlayer()
  6. local LocalPos = lp:GetShootPos()
  7. local GetPred = ( lp:GetVelocity() * engine.TickInterval() )
  8. local Pos = ucmd:TickCount() ~= 0 and (fh.PlayerPosition(fh.target) - LocalPos - GetPred ):Angle() or (fh.PlayerPosition(fh.target) - LocalPos):Angle()
  9.  
  10. Pos.p = NormalizeAngle(Pos.p)
  11. Pos.y = NormalizeAngle(Pos.y)
  12. Pos.r = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement