Im using radial walking in one of my scripts and I get this error everytime.
[Runtime Error] : Exception: Canvas does not allow drawing in line 511 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\MapWalk.scar
Im using radial walking in another script to and i dont get that error.
Whats the problem? He is the procedure too
SCAR Code:
procedure WalkToShop;
begin
If(InvCount = 28) Then
Begin
RadialWalk(RoadColor,184,544,54,1,-1);
Flag;
RadialWalk(RoadColor,219,579,52,1,-1);
Flag;
RadialWalk(RoadColor,239,559,541,1,-1);
Flag;
If(FindSymbol(x,y,'shop')) then
begin
Mouse(x,y,2,2,True);
Flag;
End;
If(Not(FindSymbol(x,y,'shop'))) Then
Writeln('Lost Dammit');
Players[CurrentPlayer].Loc:= 'Lost';
Players[CurrentPlayer].Active:= False;
LogOut;
nextPlayer(True);
End;
End;