[HELP] Timer bug
#1

Hi, I have problem with timers... they don't call functions! OK, I'll explain.

So I put
Код:
SetTimer("FunctionName", 10000, 0);
under my
Код:
OnPlayerConnect(playerid)
and also I have
Код:
Example[playerid] = 1;
under it.

And ofcourse the function(example):

Код:
forward FunctionName(playerid);
public FunctionName(playerid)
{
    Example[playerid] = 0;
	return 1;
}
The problem is:
Код:
Example[playerid]
is still true after the timer calls function... (It supposed to be false)


Reply


Messages In This Thread
[HELP] Timer bug - by Willow - 19.06.2010, 22:36
Re: [HELP] Timer bug - by smeti - 19.06.2010, 22:55
Re: [SOLVED] Timer bug - by Willow - 19.06.2010, 23:17

Forum Jump:


Users browsing this thread: 1 Guest(s)