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