Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.53 KB | None | 0 0
  1. While 1
  2.     If $Trigger Then
  3.         $LocalBase = _MemoryRead("dword", $cModule + $LocalPlayer)
  4.         $inCross = _MemoryRead("int", $LocalBase + $m_iCrosshairId)
  5.         If $inCross > 0 And $inCross <= 64 Then
  6.             $EntityBase = _MemoryRead("dword", $cModule + $dwEntityList + (($inCross - 1) * 16))
  7.             $EntityBaseTeamID = _MemoryRead("int", $EntityBase + $m_iTeamNum)
  8.             $MyTeamID = _MemoryRead("int", $LocalBase + $m_iTeamNum)
  9.             If $MyTeamID <> $EntityBaseTeamID Then
  10.                 MouseDown("LEFT")
  11.                 MouseUp("LEFT")
  12.             EndIf
  13.         EndIf
  14.     EndIf
  15.     Sleep(1)
  16. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement