Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Pawn Compiler crashes

$
0
0
Howdy!

I have been searching in my gamemode for over 2 hours now and I couldn't find any solution for this shit, I can't compile my gamemode at all.
I have tried to find a missing brackets but could not find any, I went through SA-MP Forum to find a Missing Brackets program and I found two which worked for me, both of them have the same results:

Code:

The bracket which was Opened at line number 16972 was not closed.

Number of Opening brackets : 7003
Number of Closing brackets 7002

I went to line 16972 as the program say, but nothing seems fishy, it's all fine:

PHP Code:

CMD:boss(playeridparams[])
{
    new 
string[94], mainstr[256], found 0;
    foreach(new 
Player)
    {
        if(
pTeam[i] != NO_GANG && Info[i][Skills][pTeam[i]] > 5000)
        {
            
found++;
            
format(stringsizeof(string), "{FFFFFF}%s (%d) {%06x)(%d skills)\n"GetName(i), iGetPlayerColor(i) >>> 8Info[i][Skills][pTeam[i]]);
            
strcat(mainstrstring);
        }
    }
    if(
found == 0ShowPlayerDialog(playeridWARNDIALOG_STYLE_MSGBOX"Note""{FF0000}No gangs boss found""Close""");
    else 
ShowPlayerDialog(playeridWARNDIALOG_STYLE_MSGBOX"Gang Boss"string"Close""");
    return 
1;


I removed that command to check out if it's the issue and checked the Missing Brackets program again and the results seemed fine. Tried to compile the gamemode again and it crashed ..

I tried to remove the last things I added. Same shit, crashed.

Any ideas of how I could solve this?
Thanks.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>