16.11.2011, 14:58
Good afternoon SA-MP Forum:
After 2 days trying to fix it myself, I decided to ask you for help, because I'm gonna loose this gamemode if I can't fix this error.
When I try to compile my script, Pawn Compiler Library stops working. I'm sure this is caused by brackets. Missing brackets finder 1.1.0 GUI gets this result:
But line 52338 is this one:
Anyway, I think this application isn't too reliable, so I installed Notepad++. I checked brackets in that area with that compiler and I also ignored that script using /* & */, but the error persists.
I have already checked the last script I did before the error, and it's perfect. I also tried to ignore it with /* & */, but the situation is exactly the same. Obviously, I'm not going to check all the gamemode (50k lines).
Is there any way to find missing brackets with Notepad++ or other program (not Missing Brackets Finder 1.1.0)?
Thanks a lot!
PHudson
After 2 days trying to fix it myself, I decided to ask you for help, because I'm gonna loose this gamemode if I can't fix this error.
When I try to compile my script, Pawn Compiler Library stops working. I'm sure this is caused by brackets. Missing brackets finder 1.1.0 GUI gets this result:
Quote:
MISSING BRACKET: The } bracket on line 52338 does not have a pair! Result: Opening angle brackets ({): 11867 Closing angle brackets (}): 11868 1 angle brackets without pair! Fix it! |
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
/* This is line 52338*/ format(string, sizeof(string), "~r~~h~Propiedad Privada~n~~y~%s",HouseInfo[h][hOwner]); // THIS IS LINE 52338
}
else
{
format(string, sizeof(string), "~r~~h~Propiedad Privada~n~~y~---------------~r~Renta: ~w~%d~g~$~n~~r~Dueсo: ~w~%s~n~~y~---------------~n~~b~~h~/rcuarto",HouseInfo[h][hRent],HouseInfo[h][hOwner]);
}
GameTextForPlayer(i, string, 5000, 3);
TextDrawShowForPlayer(i, HouseDraw[i]);
TextDrawSetString(HouseDraw[i], string);
return 1;
}
else
{
I have already checked the last script I did before the error, and it's perfect. I also tried to ignore it with /* & */, but the situation is exactly the same. Obviously, I'm not going to check all the gamemode (50k lines).
Is there any way to find missing brackets with Notepad++ or other program (not Missing Brackets Finder 1.1.0)?
Thanks a lot!
PHudson