10.07.2011, 05:48
This should give you an idea (I hope) on how to do it.
pawn Код:
new TeamScore;
//Use this to add to the team's score - "TeamScore += 1;"
if(TeamScore >= 50) //If team's score is 50 or greater
{
SendRconCommand("gmx"); //restart the server
return 1;
}