02.01.2014, 01:13
It's really easy to create a timer Mauzen have given you a clue how to do it, anyways sorry for the late reply was watching a documentary.
pawn Код:
public OnGameModeInit()
{
SetTimer("AutoRestart", 1000, true);
return true;
}
forward AutoRestart();
public AutoRestart()
{
new Time[3];
gettime(Time[0], Time[1], Time[2]);
if(Time[0] == 24)
{
SendRconCommand("gmx");
}
else if(Time[0] == 23 && Time[1] == 50) // 10 minutes before 24
{
GameTextForPlayer(..); //edit this line to your choice.
}
}