02.09.2011, 12:11
Well I've got a system similar to that, so it'd be like this:
(Get the foreach include) ^
OnGameModeInit:
Not sure if 1 minute is 60000 or not.
pawn Код:
forward Online();
public Online()
{
foreach (Player, i)
{
PlayerInfo[i][pScore] += 1;
new newscore = PlayerInfo[i][pScore]
SetPlayerScore(i, newscore);
}
return 1;
}
OnGameModeInit:
pawn Код:
SetTimer("Online",60000,1);