SA-MP Forums Archive
Pawno compiler stopped compiling, used missing bracket finder. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawno compiler stopped compiling, used missing bracket finder. (/showthread.php?tid=281867)



Pawno compiler stopped compiling, used missing bracket finder. - Jack_Leslie - 08.09.2011

So I used Missing Bracket Finder, and it said:
Code:
MISSING BRACKET: The } bracket on line 1144 does not have a pair!
Result: 
Opening angle brackets ({): 265 
Closing angle brackets (}): 266 
1 angle brackets without pair! Fix it!
But line 1144 is,
pawn Code:
public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

Which is weird, because there's clearly brackets there, and I've only been modifying my dialog response, which is here:
Code:
http://pastebin.com/HWAGa0Wz
So I dunno...


Re: Pawno compiler stopped compiling, used missing bracket finder. - PrawkC - 08.09.2011

Show the callback / function above where the error is


Re: Pawno compiler stopped compiling, used missing bracket finder. - Jack_Leslie - 08.09.2011

There is nothing in the callbacks above the line 1144, or below it. Or above ondialogresponse, like I said, ondialogresponse is the only thing I changed before it stopped compiling.


Re: Pawno compiler stopped compiling, used missing bracket finder. - Lorenc_ - 08.09.2011

comment each dialog bit by bit and then see which dialog id is the problem


Re: Pawno compiler stopped compiling, used missing bracket finder. - Jack_Leslie - 08.09.2011

Quote:
Originally Posted by Lorenc_
View Post
comment each dialog bit by bit and then see which dialog id is the problem
That helped me find the problem, cheers

Fixed