blublub Posted July 15, 2006 Share Posted July 15, 2006 if i use PixelSearch function and recive lets say $arr[0] and $arr[1] and then i want to use them but arr[1] has to be by a +100 pixels changed how can i do that ? Link to comment Share on other sites More sharing options...
Nurgler Posted July 15, 2006 Share Posted July 15, 2006 if i use PixelSearch function and recive lets say $arr[0] and $arr[1] and then i want to use them but arr[1] has to be by a +100 pixels changed how can i do that ? I'm not sure if it will work, but you could try to write a line just like: $arr[1] = $arr[1] + 100 Link to comment Share on other sites More sharing options...
blublub Posted July 15, 2006 Author Share Posted July 15, 2006 (edited) tried it dosnt work and tried smt like this $arr[1]=$x $y=$x+100 and then use the $y like an array but types dosnt match nubmers and cordinations ive got problem with these Edited July 15, 2006 by blublub Link to comment Share on other sites More sharing options...
blublub Posted July 15, 2006 Author Share Posted July 15, 2006 I'm not sure if it will work, but you could try to write a line just like: $arr[1] = $arr[1] + 100 eh sry tried that one more and now it works or it seems to had to misstype something before thx for help Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now