Problem with timer
#1

I have server running on VPS.VPS has no lag and has no more ping than 60.I have one timer that is working every 1 second.
Код:
SetTimer("FunctionName", 1000, true);
And this function is just decrementing player variable. Im using foreach loop in function. Problem is when i connect for first time on server everything about timer works fine, after some time function/timer just stop(im not sure what is not working).And then i have to restart my server via game panel.Im using if statment to check if is player connect
Код:
if(!IsPlayerConnected(i)) continue;
I never had any problem like this before. I have this server running for like 2.5 years and im using same system for 2.5 years.
Reply


Messages In This Thread
Problem with timer - by Wiruspwns - 31.01.2015, 12:13
Re: Problem with timer - by CalvinC - 31.01.2015, 13:14
Re: Problem with timer - by Wiruspwns - 31.01.2015, 13:26

Forum Jump:


Users browsing this thread: 1 Guest(s)