SA-MP Forums Archive
Help please - 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: Help please (/showthread.php?tid=402836)



Help please - Scott Zulkifli - 28.12.2012

pawn Код:
stock
    RandomCard(array[], size = sizeof array)
{
    new
        bool:e[POKERLAPS] = { false, ... };
    for(new p = 0; p < size; p++)
    {
        do
            array[p] = random(POKERLAPS);
        while(e[array[p]])
        e[array[p]] = true;
    }
}
Quote:

error 001: expected token: ";", but found "-identifier-"




Re: Help please - Scott Zulkifli - 28.12.2012

on...
Quote:

e[array[p]] = true;




Re: Help please - Threshold - 28.12.2012

Can you show where you define and/or use POKERLAPS ??


Re: Help please - Scott Zulkifli - 28.12.2012

.....