19.07.2010, 23:30
how would u get a random car id fromt he whole list of vehicles spawned :P
new vehicleids[MAX_VEHICLES];
new size = 0;
for (new i=0; i < MAX_VEHICLES; i++)
{
if (valid_vehicle(i))
{
vehicleids[size] = i;
size++;
}
}
new random_veh_id = vehicleids[ random(size) ];