Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- While 1
- If $Trigger Then
- $LocalBase = _MemoryRead("dword", $cModule + $LocalPlayer)
- $inCross = _MemoryRead("int", $LocalBase + $m_iCrosshairId)
- If $inCross > 0 And $inCross <= 64 Then
- $EntityBase = _MemoryRead("dword", $cModule + $dwEntityList + (($inCross - 1) * 16))
- $EntityBaseTeamID = _MemoryRead("int", $EntityBase + $m_iTeamNum)
- $MyTeamID = _MemoryRead("int", $LocalBase + $m_iTeamNum)
- If $MyTeamID <> $EntityBaseTeamID Then
- MouseDown("LEFT")
- MouseUp("LEFT")
- EndIf
- EndIf
- EndIf
- Sleep(1)
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement