im using this to get my location but its says the should be a ; but wouldn't that end the selection so can someone please help me
SCAR Code:
[B]//***get's location***
procedure getlocation;
begin
if (WeAreInMM(ladyonbench))then
begin
players[currentplayer].loc := 'near lady on bench';
end else if (FindDTMRotated(Bank ,X ,Y, MMX1, MMY1, MMX2, MMY2, -1.0, 2.0, 1,Anglevar))then
begin
players[currentplayer].loc := 'near bank';
end else if (findsymbol(x,y,'water')or findsymbol(x,y,'platebody shop'))then
players[currentplayer].loc := 'to far west of bank will go to bank';
makecompass('N');
repeat
radialwalk(FindRoadColor,30,60,25,1,-1);
until(FindDTMRotated(Bank ,X ,Y, MMX1, MMY1, MMX2, MMY2, -1.0, 2.0, 1,Anglevar));
mouse(x,y,3,-3,true);
end{says ; should be here} else
begin
players[currentplayer].loc := 'unknown hopefully between lady and bank';
end;
end;[/B]