02.05.2012, 02:34
Yes it is possible.
new Float:gRandomCarSpawns[2][4] = {
{0.0,0.0,0.0,0.0}, // SPAWN1
{0.0,0.0,0.0,0.0}, // SPAWN1
};
new rand = random(sizeof(gRandomCarSpawns));
CreateVehicle(560,gRandomCarSpawns[rand][0], gRandomCarSpawns[rand][1], gRandomCarSpawns[rand][2],gRandomCarSpawns[rand][3],0,0,1000);
etc etc etc
new Float:gRandomCarSpawns[2][4] = {
{0.0,0.0,0.0,0.0}, // SPAWN1
{0.0,0.0,0.0,0.0}, // SPAWN1
};
new rand = random(sizeof(gRandomCarSpawns));
CreateVehicle(560,gRandomCarSpawns[rand][0], gRandomCarSpawns[rand][1], gRandomCarSpawns[rand][2],gRandomCarSpawns[rand][3],0,0,1000);
etc etc etc