30.10.2011, 21:38
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:
THIS is the Picture:
(Taken by a Nokia 5800)
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;
}
(Taken by a Nokia 5800)
