SA-MP Forums Archive
PAWNO Crashes - 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 Crashes (/showthread.php?tid=294036)



PAWNO Crashes - American - 30.10.2011

Hello,

After I made something new on enums the PAWNO Crashes but after it crashes It doesn't close, but shows that the script has no errors But amx file gets 0 kb... Any help?

Things I added:
pawn Код:
enum pInfo
{
    pBalloon,   // ADDED
pawn Код:
PlayerInfo[playerid][pBalloon] = 0;
pawn Код:
new BalloonJob = PlayerInfo[targetid][pBalloon];
pawn Код:
dini_IntSet(UserPath,"BalloonJob",PlayerInfo[playerid][pBalloon]);
pawn Код:
PlayerInfo[playerid][pBalloon] = dini_Int(UserPath,"BalloonJob");
pawn Код:
dini_IntSet(UserPath,"BalloonJob",PlayerInfo[playerid][pBalloon]);
pawn Код:
if (strcmp("/startballoon", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pBalloon] >= 1)
        {
        tmp = mystrtok(cmdtext, idx);
        if(!strlen(tmp))
        {
             SendClientMessage(playerid,COLOR_GREY,".: Usage: /startballoon :.");
             return 1;
        }
             TimerBalloon = SetTimer("MoveBalloon",1,1);
        }
    }
    return 1;
}
THIS is the Picture:
(Taken by a Nokia 5800)



Re: PAWNO Crashes - sleepysnowflake - 30.10.2011

Can you show us the enum you edited ? Also there are A BOUNCH of screen capture softwares. Dude, ever heard of the INTERNET ?!


Re: PAWNO Crashes - American - 30.10.2011

Done and Uhm .. Yes, I don't have time to download programs and the " Print Screen " key on my keyboard is broken :/


Re: PAWNO Crashes - American - 30.10.2011

Any help?


Re: PAWNO Crashes - SuperViper - 31.10.2011

Your command has an extra curly brace.


Re: PAWNO Crashes - American - 31.10.2011

Sorry, I don't understand what you mean by an Extra curly brace?