error 008: must be a constant expression; assumed zero
#2

Try this:
pawn Код:
switch(checkpointid)
{
    case 0:
    {
        random(sizeof(checkpoints[carcp]));
        return 1;
    }
}
Edit: not tested.
Reply


Messages In This Thread
error 008: must be a constant expression; assumed zero - by ajwar - 14.02.2011, 17:01
Re: error 008: must be a constant expression; assumed zero - by HyperZ - 14.02.2011, 17:13
Re: error 008: must be a constant expression; assumed zero - by ajwar - 14.02.2011, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)