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

Quote:
Originally Posted by SDraw
Посмотреть сообщение
PHP код:
stock GetValidVehiclesCount()
{
        new 
count;
        for(new 
1<= MAX_VEHICLESx++)
        {
            switch(
GetVehicleModel(x))
            {
                case 
400..611count++;
                default: continue;
            }
        }
        return 
count;

Also, there is no vehicle with id 0. Only from 1 to 2000.
Result with that code is 2000 vehicles while grand larc says only 1781 vehicles were loaded from the files? e.e
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)