Log in

View Full Version : Need help... Again...



passiondrive
06-25-2007, 04:08 PM
I am currently in the making of a script (powerfisher) and just need a little help with this.

if(FindColor(x,y,color,coords,coords,coords,coords ))then

What do i put where it says coords, lol i know the answers gonna be real simple but,need the help anyway!

Thanks In Advance!

EDIT: In future I will PM more experienced users as i feel I am clogging the forums, lol...

JAD
06-25-2007, 06:14 PM
coords, as in your x and y coordinates for your coordinates box.

Check out a beginner tut. WhoCares357's is a good beginner tut, just read the all about coordinates in that and hopefully you'll get the idea.

If you want to search for the color on the whole main screen, fill the "coords" in with

MSX1,MSY1,MSX2,MSY2

and for the whole mini map

MMX1,MMY1,MMX2,MMY2

and for the inventory

MIX1,MIY1,MIX2,MIY2

Those are globals in the SRL include which already have the coordinates for the specified area in there :)

Maxine
06-25-2007, 06:17 PM
TIP from another NeWb:
i suggest reading alot of other scripters scripts:) im learning scar too and my script looks already pretty cool. thanks to ALL OTHER scripters. dont start with fawki's or sumilions scripts, but there are many many quite simple scripts to learn from:)

passiondrive
06-25-2007, 06:29 PM
Hey, thanks a lot Maxine and JAD!

Reputation, BOOSTED :p

PassionDrive