SA-MP Forums Archive
GMX Command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GMX Command (/showthread.php?tid=331270)



GMX Command - Skribblez - 04.04.2012

I've scripted my own "/gmx" command and it's working fine with Windows servers which is my current operating system. When I tried it out on online hosts such as Volt Host and ServerFFS they don't seem to work, both are using Linux servers. So it came to my mind that the command isn't working for Linux servers.

Is anyone else experiencing this? Can anyone post a code for a command which functions as a server-restart?


Re: GMX Command - [HiC]TheKiller - 04.04.2012

Could you please post the code that you have? Are you sure you actually uploaded the gamemode with the GMX command in it?


Re: GMX Command - Skribblez - 04.04.2012

Edit: After posting a lot of threads about this, I myself was the one who was able to provide a solution. Due to my stupidity, it turns out that I've uploaded a different version of the plugin that I was using. Anyway, problem solved.


Re: GMX Command - Bogdan1992 - 04.04.2012

pawn Код:
public ServerRestart()
{
    SendRconCommand("gmx");
    return 1;
}



Re: GMX Command - Jermi - 04.04.2012

There is a best way, Just Go in your server in game then /rcon login [rcon password] Then /rcon gmx
[NOTE] "That rcon gmx for restart only"