SA-MP Forums Archive
ZCMD /restart 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: ZCMD /restart command (/showthread.php?tid=402984)



ZCMD /restart command - Stanford - 28.12.2012

I'm making my own NGRP edit, and I've finished most of the stuff, I just need a /restart command, please post the script with the defines and everything!

+REP to the one who helps me


Re: ZCMD /restart command - Djole1337 - 28.12.2012

pawn Код:
CMD:restart(playerid, params[])
{
    SendClientMessageToAll(-1, "My fail server is restarting");
    SendRconCommand("gmx");
    return 1;
}



Re: ZCMD /restart command - Diorturato - 28.12.2012

One line.

pawn Код:
SendRconCommand("gmx");



Re: ZCMD /restart command - Red_Dragon. - 28.12.2012

Next time, use the script request thread


Re: ZCMD /restart command - Stanford - 28.12.2012

But man, you know guys, When you restart the NGRP script using rcon after the restart it sets every player's position to 0, also i need a command that just for 1337 admin rank and more


Re: ZCMD /restart command - Djole1337 - 28.12.2012

I do not copy scripts or even use NGRP so i dont give a fuck. Better go search wiki and learn something instead of editing fail scripts. Bye.


Re: ZCMD /restart command - Tamer - 28.12.2012

Quit that stupid NGRP edited script,won't help you.
Go and learn how to use "sendrconcommand"? Also maybe how to define the player admin values?