For loop not working
#6

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
The function is called 8 times (only explanation).

= timer issue
I dont think so. Because the Public "Verify ITAU" is called 1 time, with Loop: false. And the this public ONLY WILL BE CALLED AGAIN in this line:
Код:
Cont++;
}
if(Cont > 0) // if has anyone in area
{
           SetTimer("Verify_ITAU", 15000, false);
}
Cont = the number of the people inside area. If there is no one inside, Cont will be = 0 . And will not pass the If (Cont > 0) resulting not calling the
Код:
SetTimer("Verify_ITAU", 15000, false);
Reply


Messages In This Thread
For loop not working - by Hayden_Almeida - 15.12.2015, 01:25
Re: For loop not working - by SickAttack - 15.12.2015, 01:29
Re: For loop not working - by Vince - 15.12.2015, 08:44
Re: For loop not working - by saffierr - 15.12.2015, 09:45
Re: For loop not working - by Hayden_Almeida - 15.12.2015, 13:39
Re: For loop not working - by Hayden_Almeida - 15.12.2015, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)