Score Timer
#4

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
pawn Код:
forward scoretimer();
public scoretimer()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) break;
        else
        {
         seconds[i] ++;
         if(seconds[i] >= 1800)
         {
            SetPlayerScore(i, GetPlayerScore(i) + 1);
            seconds[i] = 0;
        }
       }
    }
    return 1;
}
Try it now,not sure if it'll work tough
Sorry it's not. i have tried to changed the 1800 to 500 so i don't need to wait 30 minutes. And still no luck. Hope to fix this soon!
Reply


Messages In This Thread
Score Timer - by kbalor - 27.07.2012, 12:54
Re: Score Timer - by Cjgogo - 27.07.2012, 13:00
Re: Score Timer - by TheDeath - 27.07.2012, 13:02
Re: Score Timer - by kbalor - 27.07.2012, 13:07
Re: Score Timer - by Cjgogo - 27.07.2012, 13:13
Re: Score Timer - by kbalor - 27.07.2012, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)