Simple score system.
#2

pawn Код:
SetTimer("ScoreTimer", 3600000, true); // add this to OnGameModeInit, this will repeat every 1 hour (3600000 miliseconds in 1 hour (if im right))
// it will create a timer with name 'ScoreTimer'
forward ScoreTimer(); // forwarding the timer with name 'ScoreTimer'
public ScoreTimer() // the public of the timer, it will do this every hour
{
    foreach(Player, i) // need the foreach include
    {
        SetPlayerScore(i, GetPlayerScore(i) + 1)
    }
    return 0;
}
This would help you with the timer thing
Reply


Messages In This Thread
Simple score system. - by Azzeto - 12.10.2011, 09:45
Re: Simple score system. - by Wesley221 - 12.10.2011, 09:58
Re: Simple score system. - by Azzeto - 12.10.2011, 10:35

Forum Jump:


Users browsing this thread: 2 Guest(s)