28.02.2014, 13:01
The problem I were talking about was if t2 is bigger than 4 before the timer starts / it restarts
Lets say t2 starts by 0, the first time it will work couting till 5
But on the second run it is already five and the if check will never proceed
Also you need to add KillTimer at the end otherwise the SignUpAndDerbyStart timer will never stop to increase t2 each second
Lets say t2 starts by 0, the first time it will work couting till 5
But on the second run it is already five and the if check will never proceed
Also you need to add KillTimer at the end otherwise the SignUpAndDerbyStart timer will never stop to increase t2 each second
pawn Код:
new gDerbyTimer;
// EventStart
gDerbyTimer = SetTimer("SignUpAndDerbyStart", 1000, true);
// SignUpAndDerbyStart
if (/**/)
{
// CODE
KillTimer(gDerbyTimer);
}