Timer goes to fast
#1

Hello, im using SetTimerEx in my gamemode, it activates when player connects to the game. Basically timer goes 60 seconds, but sometimes it's shorter than 60 seconds, it can be up to 30-40 seconds, but i won't change timer time.

Variable:
Код:
new game[MAX_PLAYERS];
This is how looks the timer. It's on OnPlayerConnect callback:
Код:
game[playerid]=SetTimerEx("Games",60000,true,"i",playerid);
OnPlayerDisconnect:
Код:
KillTimer(game[playerid]);
Callback "Games" also have one return at starting, and it has a long process:
Код:
public Games(playerid)
{
if(playerDB[playerid][authstate]==0) return;
// When goes ~350 lines this callback code without return
Any ideas, what can be wrong?
Reply


Messages In This Thread
Timer goes to fast - by KuHS - 13.03.2010, 07:21
Re: Timer goes to fast - by SlashPT - 13.03.2010, 07:25
Re: Timer goes to fast - by KuHS - 13.03.2010, 07:56
Re: Timer goes to fast - by ¤Adas¤ - 13.03.2010, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)