26.09.2010, 20:23
You could add the points with the timer + GetTickCount()
This will check in addition, if really more than a sec went since the player got his last point. So the max tolerance will be 1 point.
pawn Код:
new lasttick[MAX_PLAYERS];
public TimerFunc(playerid)
{
if(GetTickCount() - lasttick[playerid] >= 1000)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
lasttick[playerid] = GetTickCount();
}
}