to advoid cluttering the forums with topics, anyone able to tell me whats wrong here? im getting this error:
[Error] (20915:15): Invalid number of parameters in script C:\Users\admin\Desktop\cooker.scar
The error line is the Bolded line, and I don't know what's wrong, invalid number of parameters, means i need to add parameters to something, but Ismoving has no parameters!
Code:
Function WalkToRange:Boolean;
begin
if(findsymbol(x, y, 'Kebab Shop')) or findsymbol(x, y, 'Cook') then
begin
mouse(x, y, 5, 5, true)
Result := True
end else;
if(radialwalktol(195836, 180, 210, 60)) then
begin
wait(2000);
Result:=True;
end else;
begin
Result:=False;
Exit;
end;
while(ismoving);
wait(500)
end;