SA-MP Forums Archive
Very weird error - 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: Very weird error (/showthread.php?tid=492182)



Very weird error - ProjectMan - 02.02.2014

In public OnGameModeInit():

pawn Код:
for (new i; i != 274; ++i)
    {
        switch (i)
        {
            case 6 .. 8, 62, 107 .. 110, 267: continue;
            default: AddPlayerClassEx(1,i,1653.9287,-1659.5408,22.5156,182.7083,0,0,0,0,0,0);
        }
    }
But skin ID 6 to 8, 62, 107 to 110 and 267 is still added. If you debug it, it shouldn't add those skins but it did. What is the problem?


Re: Very weird error - Misiur - 02.02.2014

This code works as intended. The problem is apparently somewhere else