Timer is bugged
#1

Hello, I got a problem with my timers, I am using progress bars, When you are more players online, The hunger & drink bar gets bigger alot quicker. For some reason. This is my timers:

Код:
new hungertimer[MAX_PLAYERS];
new thirsttimer[MAX_PLAYERS];
forward hunger(playerid);
forward thirsty(playerid);
OnPlayerSpawn
pawn Код:
hungertimer[playerid] = SetTimerEx("hunger", 1200000, false, "i", playerid);
thirsttimer[playerid] = SetTimerEx("thirsty", 1200000, false, "i", playerid);
pawn Код:
public hunger(playerid)
{
    Hungry[playerid] += 1;
    hungertimer[playerid] = SetTimerEx("hunger", 1200000, false, "i", playerid);
    return 1;
}
public thirsty(playerid)
{
    Thirsty[playerid] += 1;
    thirsttimer[playerid] = SetTimerEx("thirsty", 1200000, false, "i", playerid);
    return 1;
}
Anyone knows the problem?
Reply


Messages In This Thread
Timer is bugged - by BizzyD - 29.06.2011, 15:34
AW: Timer is bugged - by Blowfish - 29.06.2011, 15:50
Re: Timer is bugged - by BizzyD - 29.06.2011, 15:54
AW: Timer is bugged - by Blowfish - 29.06.2011, 15:59
Re: Timer is bugged - by BizzyD - 29.06.2011, 16:01
AW: Timer is bugged - by Blowfish - 29.06.2011, 16:06
Re: Timer is bugged - by Sasino97 - 29.06.2011, 16:07
Re: AW: Timer is bugged - by BizzyD - 29.06.2011, 16:16
AW: Timer is bugged - by Blowfish - 29.06.2011, 16:17
Re: Timer is bugged - by BizzyD - 29.06.2011, 16:18

Forum Jump:


Users browsing this thread: 3 Guest(s)