23.01.2017, 20:17
I found a way to temporarily fix it, just by making a variable to check if the timer should be active or not.
But this is probably not a good way to do it because the timer keeps running.
But this is probably not a good way to do it because the timer keeps running.
PHP код:
if(countactive == 1)
{
// code of the timer in here
}