Jump to content

Recommended Posts

Posted

$a = pixelsearch(0,0,1024,768,"colour in hex (forgot colour )",10,10)

mouseclick("left", $a[0], $a[1], 1)

this is my script for an 2d-game-aimbot...but it doesnt work xD

($a = pixelsearch(0,0,1024,768,,10,10)

$a = pixelsearch(0,0,1024,768,^ ERROR)

^debug window

  • Moderators
Posted

It shows you the error, you have 2 commas side by side.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted (edited)

ah , here is it :

$a = pixelsearch(0,0,1024,768,#C99F6D,10,10)

mouseclick("left", $a[0], $a[1], 1)

mmmmh , it says "#" is an illegal charachter......

but i need # for the hex-colour

Edited by Elo001

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...