dayto123
2013-03-07 08:12:29
In my script i'am getting one last error
Its saying Invalid number of parameters at line 105
Compiling failed. That is the bolded word.
That is the script of WalktoBank
begin
ClearDebug;
SetupSRL;
SetupP07Include;
DeclarePlayers; // Calls the procedure, you can't forget this!
LoginPlayer; // You want your player to login, right?
repeat;
Fishing;
antiBan;
[B]WalkToBank[/B];
BankEdgeville;
Dropoffitems;
end;
end. Its saying Invalid number of parameters at line 105
Compiling failed. That is the bolded word.
procedure WalkToBank(RadialWalkin: Integer);
begin
case RadialWalkin of
1: RadialWalk(1003042, 0, 90, 15, 5, 5); //the 15855597 would be where your color would go. to pick a color, go to SCAR, and press Ctrl + Alt + P and click on the spot that your color is. It will wright the color in the debug box.
2: RadialWalk(941920, 0, 90, 50, 5, 5); //0, 90 is the section on the mini map it searches for, in this case, the whole north/west corner
3: RadialWalk(1137259, 0, 180, 60, 5, 5); //60 means it will search all the way out to the edge of the mini map from the center
4: RadialWalk(1191752, 0, 90, 60, 5, 5); //the 5, 5, means that if the flag doesn't appear, it will search 5 pixels away from that area
5: RadialWalk(5526878, 0, 90, 15, 5, 5); //the 5, 5, means that if the flag doesn't appear, it will search 5 pixels away from that area
end;
end;
That is the script of WalktoBank