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);