Quote:
Originally Posted by Abernethy♥
Quote:
Originally Posted by DeltaAirlines12
Quote:
Originally Posted by Abernethy♥
Post your timer where you call the gmx. You can add it there.
|
These are what I used:
Код:
forward Restart();
public OnGameModeInIt()
{
SetTimer("Restart",900000,false);
return 1;
}
public Restart()
{
GameModeExit();
}
I got them here: (another one of my posts) http://forum.sa-mp.com/index.php?top...90.0;topicseen
|
Here, this should work.
pawn Код:
forward Restart();
public OnGameModeInIt() { SetTimer("Restart",900000,false); return true; }
public Restart() { SendRconCommand("gmx"); GameTextForAll("~b~End of round! Game mode restarting!", 1500, 6); return true; }
|
It compiled fine! I will test it now! Thanks for your feedback!