04.07.2012, 11:03
Use a loop:
pawn Код:
for(new v = 1; v <= MAX_VEHICLES; v++)
{
if(c_Info[v][cJob] == 1) //Use you variables, if you don't have it with variables, use the IDs as if(v > 50 && v < 70) || It's an example, nothing else.
{
//Get/SetVehicleParamsEx
}
}