21.06.2011, 09:13
pawn Код:
stock RandomRoute()
{
switch(random(3))
{
case 0: return DriverRoute3[random(sizeof(DriverRoute3))][3];
case 1: return DriverRoute4[random(sizeof(DriverRoute4))][3];
case 2: return DriverRoute5[random(sizeof(DriverRoute5))][3];
}
return -1;
}
Untested...