Pick 4 random numbers from array.
#1

Hi,
How to pick 4 random numbers from array and not repeat?
pawn Код:
new arrVehRandCP[28][1] =
{
      411,
      424,
      413,
      489,
      589,
      477,
      404,
      561,
      493,
      470,
      452,
      562,
      486,
      571,
      558,
      527,
      426,
      402,
      534,
      480,
      551,
      492,
      400,
      567,
      575,
      466,
      412,
      418
};
Thanks.
Reply


Messages In This Thread
Pick 4 random numbers from array. - by MRM - 18.04.2016, 18:15
Re: Pick 4 random numbers from array. - by Jefff - 18.04.2016, 19:03
Re: Pick 4 random numbers from array. - by MRM - 18.04.2016, 19:44
Re: Pick 4 random numbers from array. - by MRM - 19.04.2016, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)