pawn Код:
new vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(411, RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2], 228.5856, 0, 0, 7200); //Test Veh. 1
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(412, RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2], 340.1074, 0, 0, 7200); //Test Veh. 2
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(463,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],2.7240,0,0,7200); // Vehicle 1/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(514,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],88.3344,0,0,7200); // Vehicle 2/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(568,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],1.1765,0,0,7200); // Vehicle 3/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(463,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],37.8921,0,0,7200); // Vehicle 4/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(433,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],7.0630,0,0,7200); // Vehicle 5/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(463,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],156.3794,0,0,7200); // Vehicle 6/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(568,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],14.4192,0,0,7200); // Vehicle 7/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(514,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],183.0471,0,0,7200); // Vehicle 8/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(568,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],314.6674,0,0,7200); // Vehicle 9/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(463,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],5.4393,0,0,7200); // Vehicle 10/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(433,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],3.6414,0,0,7200); // Vehicle 11/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(463,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],3.3280,0,0,7200); // Vehicle 12/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(568,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],184.8369,0,0,7200); // Vehicle 13/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(514,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],358.0526,0,0,7200); // Vehicle 14/
vrs = random(sizeof(RandomVehicleSpawns));
CreateVehicle(568,RandomVehicleSpawns[vrs][0], RandomVehicleSpawns[vrs][1], RandomVehicleSpawns[vrs][2],162.6114,0,0,7200); // Vehicle 15
But it's bad, because there is still a possibility, that some of the vehicles will spawn at the same location.