16.08.2012, 11:59
pawn Код:
public OnGameModeInit()
{
SetTimer("score",1000,true);//repeating timer 1time each/sec
return 1;
}
forward score();
public score()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerScore(i,GetPlayerScore(i)+1);
}
}