[Include] clFunction - CreativityLacker's custom functions
#7

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?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)