19.10.2012, 09:06
PHP код:
stock GetValidVehiclesCount()
{
new count;
for(new x = 1; x <= MAX_VEHICLES; x++)
{
switch(GetVehicleModel(x))
{
case 400..611: count++;
default: continue;
}
}
return count;
}