# PixelGetColor() Works sometimes, why not always

## Recommended Posts

I figured out how to make it look for a color and compare it, but why wont it always find it, there is no reason for it to not find the correct color thats out of place, anyone figure out why it gets messed up? i am racking my brain rewrote it 2 times, and got same results...

```\$1Color = PixelGetColor(418, 247)
\$2Color = PixelGetColor(518, 247)
\$3Color = PixelGetColor(618, 247)
;First Line
\$4Color = PixelGetColor(418, 347)
\$5Color = PixelGetColor(518, 347)
\$6Color = PixelGetColor(618, 347)
;Second Line
\$7Color = PixelGetColor(418, 447)
\$8Color = PixelGetColor(518, 447)
\$9Color = PixelGetColor(618, 447)oÝ÷ Ù«­¢+ÙÕ¹MÉ¥ÁÑ
¡¬ ¤(%%ÀÌØìÅ
½±½ÈôÀÌØìÉ
½±½ÈQ¡¸íAÍÌ
¡¬(\$%Q¡¥É
¡¬ ¤(%±Í%ÀÌØìÅ
½±½È±ÐìÐìÀÌØìÉ
½±½ÈQ¡¸ì¥±¥Ñ¡È=¹½ÈQÝ¼°
¡­%¸9áÐÕ¹(\$%Q¡¥É
¡­U¹ÅÕ° ¤(%¹%)¹Õ¹ìôôÐíMÉ¥ÁÑ
¡¬()Õ¹Q¡¥É
¡­U¹ÅÕ° ¤(%%ÀÌØìÅ
½±½È±ÐìÐìÀÌØìÍ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÄÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%±Í%ÀÌØìÉ
½±½È±ÐìÐìÀÌØìÍ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÈÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐíQ¡¥É
¡­U¹ÅÕ°()Õ¹Q¡¥É
¡¬ ¤(%%ÀÌØìÅ
½±½ÈôÀÌØìÍ
½±½ÈQ¡¸(\$%M½¹1¥¹ ¤(\$%M±À ÄÀ¤(%±Í%ÀÌØìÅ
½±½È±ÐìÐìÀÌØìÍ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÌÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐíQ¡¥É
¡¬()Õ¹M½¹1¥¹ ¤(%%ÀÌØìÑ
½±½ÈôÀÌØìÕ
½±½ÈQ¡¸íAÍÌ
¡¬(\$%M½¹1¥¹1ÍÑ
¡¬ ¤(%±Í%ÀÌØìÑ
½±½È±ÐìÐìÀÌØìÕ
½±½ÈQ¡¸ì¥±¥Ñ¡È=¹½ÈQÝ¼°
¡­%¸9áÐÕ¹(\$%M½¹1¥¹U¹ÅÕ° ¤(%¹%)¹Õ¹ìôôÐíM½¹1¥¹()Õ¹M½¹1¥¹U¹ÅÕ° ¤(%%ÀÌØìÑ
½±½È±ÐìÐìÀÌØìÙ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÐÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%±Í%ÀÌØìÕ
½±½È±ÐìÐìÀÌØìÙ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÔÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐíM½¹1¥¹U¹ÅÕ°()Õ¹M½¹1¥¹1ÍÑ
¡¬ ¤(%%ÀÌØìÑ
½±½ÈôÀÌØìÙ
½±½ÈQ¡¸(\$%1ÍÑ1¥¹ ¤(\$%M±À ÄÀ¤(%±Í%ÀÌØìÑ
½±½È±ÐìÐìÀÌØìÙ
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ØÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐíM½¹1¥¹1ÍÑ
¡¬()Õ¹1ÍÑ1¥¹ ¤(%%ÀÌØìÝ
½±½ÈôÀÌØìá
½±½ÈQ¡¸íAÍÌ
¡¬(\$%1ÍÑ1¥¹1ÍÑ
¡¬ ¤(%±Í%ÀÌØìÝ
½±½È±ÐìÐìÀÌØìá
½±½ÈQ¡¸ì¥±¥Ñ¡È=¹½ÈQÝ¼°
¡­%¸9áÐÕ¹(\$%1ÍÑ1¥¹U¹ÅÕ° ¤(%¹%)¹Õ¹ìôôÐí1ÍÑ1¥¹()Õ¹1ÍÑ1¥¹U¹ÅÕ° ¤(%%ÀÌØìÝ
½±½È±ÐìÐìÀÌØìå
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸ÜÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%±Í%ÀÌØìá
½±½È±ÐìÐìÀÌØìå
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸àÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐí1ÍÑ1¥¹U¹ÅÕ°()Õ¹1ÍÑ1¥¹1ÍÑ
¡¬ ¤(%%ÀÌØìÝ
½±½ÈôÀÌØìå
½±½ÈQ¡¸(\$%M±À ÄÀ¤(\$%}%Ñ¥½¸ ÀÌØí
É¥µÌ°ÅÕ½ÐíÑ°ÀÁ}5¥¹A
½¹Ñ¹Ñ}É±
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÑ¹
½µµ¥ÐÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%MÉ¥ÁÑ
¡¬ ¤(%±Í%ÀÌØìÝ
½±½È±ÐìÐìÀÌØìå
É¥µÌ°ÅÕ½ÐíÑ°ÀÀÀÌØí5¥¹A
½¹Ñ¹ÐÀÌØíÙ±
É¥µÌÀÌØíÑ¸äÅÕ½Ðì¤(\$%}%Ñ¥½¸ ÀÌØí½MÕµ¥Ð°ÅÕ½Ðí±¥¬ÅÕ½Ðì¤(\$%}%1½]¥Ð ÀÌØí
É¥µÌ¤(\$%}%EÕ¥Ð ÀÌØí
É¥µÌ¤(%¹%)¹Õ¹ìôôÐí1ÍÑ1¥¹1ÍÑ
¡¬```

Ignor the \$gta and \$crimes they are in the gui, only coppied the script part that was giving me problems...

sometimes it find the correct one thats out of place, others it clicks the wrong one... anyone think they know why?

Edited by Regency

## Create an account

Register a new account