06.03.2015, 14:25
Quote:
Well, i'm wanting to do it for my DMV system, instead of having just one route to use, I was thinking of having a couple which would be chosen at random. So, if the script chose array1 it'd show the checkpoints for array1, if it chose array2 it'd show array2 checkpoints.
|
Well, then make sth like this:
Код:
switch(random(MAX_ROUTS)) { case 0: //here you start route 1 case 1: //here you start route 2 case 2: //here you start route 3 //... }