it seems you missed out a if (not(LoggedIn)) then exit;
SCAR Code:
function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;
var
tpa: TPointArray;
i: Integer;
begin
Result := False;
if (not(LoggedIn)) then exit;
if RadialWalkEx(tpa, MMCX, MMCY, TheColor, 0, StartRadial, EndRadial, Radius) then
for i := 0 to High(tpa) do
if MFNF(tpa[i].x, tpa[i].y, Xmod, Ymod) then
begin
FFlag(10);
Result := True;
Break;
end;
end;
also is there really any need for radial road walk?
the only difference is that it prints the road color into the debug box but if your running a script then your not going to see it and it will make no difference to how the script will run wether you use RadialRoadWalk or RadialWalk, they both work exactly the same
~shut