18.02.2015, 15:02
pawn Код:
new car[3];
new bool:check[3];
for(new i; i < 3; ++i)
{
for(new x; x < 3; ++x)
{
new file[26];
format(file, sizeof file, "carfile%i", x);
if(fexist(file))
{
if(!check[x])
{
car[i] = CreateVehicle(...);
check[x] = true;
continue;
}
}
}
}