SA-MP Forums Archive
Pawno Compiler Library has stopped working. - 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 Compiler Library has stopped working. (/showthread.php?tid=456783)



Pawno Compiler Library has stopped working. - alanhutch - 07.08.2013

Hello! By completing the following 2 commands I get the following error message ...
Code:
Pawno Compiler Library has stopped working.
And the commands...
pawn Code:
if(strcmp(cmd, "/apricelle", true) == 0)
      {
         if(IsASoldier(playerid) || IsACop(playerid) || IsAnAgent(playerid))

        MoveDynamicObject(cell0,1827.80004883+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell1,1831.00000000+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell2,1834.19995117+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell3,1837.40002441+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell4,1840.59997559+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell5,1827.80004883+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell6,1831.00000000+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell7,1834.19995117+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell8,1837.40002441+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell9,1840.59997559+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell10,1843.80004883+1.25,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell11,1843.80004883+1.25,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell12,1843.80004883+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell13,1840.59997559+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell14,1837.40002441+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell15,1834.19995117+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell16,1831.00000000+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell17,1827.80004883+1.25,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell18,1827.80004883+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell19,1831.00000000+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell20,1834.19995117+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell21,1837.40002441+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell22,1840.59997559+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell23,1843.80004883+1.25,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell24,1843.80004883+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell25,1840.59997559+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell26,1837.40002441+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell27,1834.19995117+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell28,1831.00000000+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell29,1827.80004883+1.25,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell30,1827.80004883+1.25,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell31,1831.00000000+1.25,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell32,1834.19995117+1.25,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell33,1837.40002441+1.25,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell34,1840.59997559+1.25,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell35,1843.80004883+1.25,-1714.30004883,5209.89990234,0.50);
        format(string, sizeof(string), "Speaker: Tutte le celle sono state aperte!");
            ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY,"Non sei una forza dell'ordine");
        }
        return 1;
    }
    if(strcmp(cmd, "/chiudicelle", true) == 0)
    {
        if(IsASoldier(playerid) || IsACop(playerid) || IsAnAgent(playerid))
        {
        MoveDynamicObject(cell0,1827.80004883,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell1,1831.00000000,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell2,1834.19995117,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell3,1837.40002441,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell4,1840.59997559,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell5,1827.80004883,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell6,1831.00000000,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell7,1834.19995117,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell8,1837.40002441,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell9,1840.59997559,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell10,1843.80004883,-1729.19995117,5206.39990234,0.50);
        MoveDynamicObject(cell11,1843.80004883,-1729.19995117,5202.79980469,0.50);
        MoveDynamicObject(cell12,1843.80004883,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell13,1840.59997559,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell14,1837.40002441,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell15,1834.19995117,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell16,1831.00000000,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell17,1827.80004883,-1729.19995117,5209.89990234,0.50);
        MoveDynamicObject(cell18,1827.80004883,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell19,1831.00000000,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell20,1834.19995117,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell21,1837.40002441,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell22,1840.59997559,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell23,1843.80004883,-1714.30004883,5202.79980469,0.50);
        MoveDynamicObject(cell24,1843.80004883,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell25,1840.59997559,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell26,1837.40002441,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell27,1834.19995117,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell28,1831.00000000,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell29,1827.80004883,-1714.30004883,5206.39990234,0.50);
        MoveDynamicObject(cell30,1827.80004883,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell31,1831.00000000,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell32,1834.19995117,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell33,1837.40002441,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell34,1840.59997559,-1714.30004883,5209.89990234,0.50);
        MoveDynamicObject(cell35,1843.80004883,-1714.30004883,5209.89990234,0.50);
         format(string, sizeof(string), "Speaker: Tutte le celle sono state chiuse!");
            ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY,"Non sei una forza dell'ordine!");
        }
        return 1;
    }
Thanks for the help!


Re: Pawno Compiler Library has stopped working. - alanhutch - 07.08.2013

Resolved!