King
2013-03-15 17:32:18
function AtBank: boolean;
begin
findSymbol(x, y, Symbol_Bank);
Result := (distance(x, y, 643, 84) <= 2);
end; I keep getting a math error at the distance function, any ideas? Im trying to find the distance between my player on the MM and the Symbol, to determine my location, it occasionally gives the error.