Wu-Tang Clan
2014-01-25 20:59:20
function WhereAreWe(): Boolean;
var
p: Tpoint;
begin
if (minimap.findSymbol(p, MM_SYMBOL_BANK, minimap.getBounds)) or (minimap.findSymbol(p, MM_SYMBOL_MINIGAME, minimap.getBounds)) then
begin
Result := Lobby;
end;
if not (minimap.findSymbol(p, MM_SYMBOL_BANK, minimap.getBounds)) or not (minimap.findSymbol(p, MM_SYMBOL_MINIGAME, minimap.getBounds)) then
begin
Result := Cave;
end;
end;Exception in Script: Unknown declaration "Result" at line 52, column 7
Exception in Script: Unknown declaration "Cave" at line 56, column 17how do I declare these so they compile/properly declare?