18.10.2012, 22:12
stock GetValidVehiclesCount()
{
new count;
for(new x = 0; x < MAX_VEHICLES; x++)
{
if(x != INVALID_VEHICLE_ID)
{
count++;
}
}
return count;
}
Are you sure that works?
How can a static, defined number equal a dynamic number in a for loop?
{
new count;
for(new x = 0; x < MAX_VEHICLES; x++)
{
if(x != INVALID_VEHICLE_ID)
{
count++;
}
}
return count;
}
Are you sure that works?
How can a static, defined number equal a dynamic number in a for loop?