I'm currently trying to add a Failsafe in my fishing script so that if it leaves a certain area it will return to the original position.
However I get this error:
Simba Code:procedure FailSafeWalk (LeftArea:String);
var
MyPos : TPoint;
begin
MyPos :=SPS_GetMyPos; //<--line 235
if (Not (Distance(MyPos.X, MyPos.Y, 195, 176) < 120)) then
Begin
SPS_WalkToPos(Point(195, 176));
end;
end;
[Error] (236:9): Unknown identifier 'SPS_GetMyPos' at line 235
Compiling failed.


Reply With Quote


