thank you so much!! oh and something else. i have NO idea of what i am doing. i just copy/paste ur code and press start debugging lol!

Here's an overview of the program to help out:

1) Fill an array with colors to look for, read in from a file
2) Grab the game's resolution from the config file (to screenshot the window)
3) Wait for the user to left click, hit enter, or hit end
4) If they left click or hit enter, take a screenshot of the game window using BitBlit() inside of get_bitmap_ava()
5) If they left clicked, search the screenshot for colors matching the ones read in from the file
6) If enough colors are found in a close grouping (enough to signify a player), move the mouse to that position (using relative movement, meaning move by x and y amount)
7) If the user hit enter, save the colors around the center of the window in a x-by-x (x being the variable radius) square and write them to a file
8) Loop 3-7 until they hit end, where it exits the program

1) Fill an array with colors to look for, read in from a file
2) Grab the game's resolution from the config file (to screenshot the window)
3) Wait for the user to left click, hit enter, or hit end
4) If they left click or hit enter, take a screenshot of the game window using BitBlit() inside of get_bitmap_ava()
5) If they left clicked, search the screenshot for colors matching the ones read in from the file
6) If enough colors are found in a close grouping (enough to signify a player), move the mouse to that position (using relative movement, meaning move by x and y amount)
7) If the user hit enter, save the colors around the center of the window in a x-by-x (x being the variable radius) square and write them to a file
8) Loop 3-7 until they hit end, where it exits the program

i understand how ur aimbot works. the problem is that i dont know how to compile it.