Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fh.SilentAim(ucmd)
- 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
- if (fh.target != nil) then
- isAim = true
- local lp = LocalPlayer()
- local LocalPos = lp:GetShootPos()
- local GetPred = ( lp:GetVelocity() * engine.TickInterval() )
- local Pos = ucmd:TickCount() ~= 0 and (fh.PlayerPosition(fh.target) - LocalPos - GetPred ):Angle() or (fh.PlayerPosition(fh.target) - LocalPos):Angle()
- Pos.p = NormalizeAngle(Pos.p)
- Pos.y = NormalizeAngle(Pos.y)
- Pos.r = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement