Help with loop vehicles
#1

PHP код:
public:Function()
{
        for(new 
idxidx<sizeof(DynamicCars); idx++)
          {
            if(
DynamicCars[idx][CarType] == 20)
            {
                
printf("> ID %d is type 20."idx);
                break;
            }
        }
   return 
1;

This code is giving me 999x (max car number is 999) this message in server log:
PHP код:
ID 0 is type 20. 
How to fix it? Today i tryied to fix this all day and didnt get an solution. Someone?
Reply


Messages In This Thread
Help with loop vehicles - by quark - 08.04.2014, 19:53
Re: Help with loop vehicles - by quark - 08.04.2014, 20:01
Re: Help with loop vehicles - by Lidor124 - 08.04.2014, 20:08
Re: Help with loop vehicles - by quark - 08.04.2014, 20:14
Re: Help with loop vehicles - by quark - 08.04.2014, 21:17

Forum Jump:


Users browsing this thread: 2 Guest(s)