well its kinda obvious u cant put gametab(4:integer):boolean like that....just put gametab(4) and also u dont have to define gametab as a variable
SCAR Code:
Program Arrows;
{.Include SRL/SRL.Scar}
var
dx,dy:integer
Function EquipArrows:boolean; //define it in the function
Begin
GameTab(4);
If(FindColor(dx, dy, 4079171, 554, 367, 731, 535))Then
Begin
Result:=True;
wait(20);
Mouse(Dx, Dy, 5, 5, True);
end else
begin
result:=false;
//rest of failsafe
end;
end;
//rest of script blah
srry had to kinda rush. if this helped be sure to rep+ haha