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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: pawno crashes (/showthread.php?tid=251424)



pawno crashes - HondaCBR - 26.04.2011

pawno crahses when i try to compile after adding this in to the map:

pawn Код:
if(!strcmp(cmdtext,"/spawn",true))
    {
        new string[200];
        strcat(string,"{33AA33}spawn1\n");
        if(PlayerInfo[playerid][pJob] == 1) ( strcat(string,"{33AA33}spawn2\n"); }
        ShowPlayerDialog(playerid,spawnd,DIALOG_STYLE_LIST,"where:",string,"save","exit");
        return 1;
    }