Jump to content

Recommended Posts

Posted

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 ?

Posted

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

Posted (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 by blublub
Posted

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 :D

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...