04.07.2012, 02:45
pawn Код:
forward Score();
pawn Код:
SetTimer("Score", 60000, 1);
pawn Код:
public Score()
{
Loop(i, MAX_PLAYERS)
{
if (IsPlayerConnected(i))
{
SetPlayerScore(i, GetPlayerScore(i) + 1));
new str[258];
format(str,sizeof(str),"** You have gained one score");
SendClientMessage(i, COLOR_GREEN, str);
}
}
return 1;
}

