[HELP] How to Create "Server Restart Command" ?
#3

Use
PHP код:
CMD:gmx(plateridparams[])
//you can use     if(IsPlayerAdmin(playerid)) here
{
SendRconCommand("gmx");
return 
1;

Quote:
Originally Posted by anassmaroc
Посмотреть сообщение
Код:
CMD:gmx(playerid, params[])
{
    OnGameModeExit();
    return 1;
}
Sometime it not work. If there nothing in OnGameModeExit , the server will not restart or can crash the server
Reply


Messages In This Thread
[HELP] How to Create "Server Restart Command" ? - by Gaswoman - 28.08.2015, 09:31
Re: [HELP] How to Create "Server Restart Command" ? - by anassmaroc - 28.08.2015, 09:47
Re: [HELP] How to Create "Server Restart Command" ? - by SoFahim - 28.08.2015, 10:27
Re: [HELP] How to Create "Server Restart Command" ? - by J0sh... - 28.08.2015, 10:29
Re: [HELP] How to Create "Server Restart Command" ? - by Vince - 28.08.2015, 10:42
Re: [HELP] How to Create "Server Restart Command" ? - by xVIP3Rx - 28.08.2015, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)