Results 1 to 4 of 4

Thread: weird ; error

  1. #1
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default weird ; error

    im using this to get my location but its says the should be a ; but wouldn't that end the selection so can someone please help me
    SCAR Code:
    [B]//***get's location***
    procedure getlocation;
    begin
      if (WeAreInMM(ladyonbench))then
      begin
        players[currentplayer].loc := 'near lady on bench';
      end else if (FindDTMRotated(Bank ,X ,Y, MMX1, MMY1, MMX2, MMY2, -1.0, 2.0, 1,Anglevar))then
      begin
        players[currentplayer].loc := 'near bank';
      end else if (findsymbol(x,y,'water')or findsymbol(x,y,'platebody shop'))then
        players[currentplayer].loc := 'to far west of bank will go to bank';
        makecompass('N');
        repeat
          radialwalk(FindRoadColor,30,60,25,1,-1);
        until(FindDTMRotated(Bank ,X ,Y, MMX1, MMY1, MMX2, MMY2, -1.0, 2.0, 1,Anglevar));
        mouse(x,y,3,-3,true);
      end{says ; should be here} else
      begin
        players[currentplayer].loc := 'unknown hopefully between lady and bank';
      end;
    end;[/B]
    "your always where you supposed to be"

  2. #2
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    add a begin after
    SCAR Code:
    if (findsymbol(x,y,'water')or findsymbol(x,y,'platebody shop'))then

  3. #3
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ooo thank you didn't catch that
    "your always where you supposed to be"

  4. #4
    ronny.m.p Guest

    Default

    Infintry nailed it. Also what are the <b> for?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. weird error
    By mormonman in forum OSR Help
    Replies: 4
    Last Post: 02-05-2009, 02:06 AM
  2. Weird Error:
    By D1zl3 in forum OSR Help
    Replies: 8
    Last Post: 11-12-2008, 05:03 AM
  3. weird error
    By Awkwardsaw in forum OSR Help
    Replies: 6
    Last Post: 04-29-2008, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •