10.04.2017, 16:58
You know what you should do? You should make a command that saves all that shit like /saveserver then you should make a CMD that does this.
^^THIS is only a basic example of what you can do, but, I can assure that it works pretty well.
Sorry for the cringey ass gangsta lines, I added that for no apparant reason.
If you want that in ZCMD, here it is.
If you want it in strcmp, well, firstly, your fucking old. Secondly, you've came to the wrong place babes <3
Код:
YCMD:restart(playerid, params[], help) { new string[128] if(!IsPlayerAdmin (playerid)) return SendClientMessage (playerid, -1, "You, mista' %s, iz' no admin foo'!"); SendClientMessageToAll(-1, "AdmCmd: Server Restart Initiated by %s. Do not leave the server!"); SendRconCommand("gmx") return 1; }
Sorry for the cringey ass gangsta lines, I added that for no apparant reason.
If you want that in ZCMD, here it is.
Код:
ZCMD:restart(playerid, params[]) { new string[128] if(!IsPlayerAdmin (playerid)) return SendClientMessage (playerid, -1, "You, mista' %s, iz' no admin foo'!"); SendClientMessageToAll(-1, "AdmCmd: Server Restart Initiated by %s. Do not leave the server!"); SendRconCommand("gmx") return 1; }