18.12.2015, 19:51
Quote:
if you are logged in with rcon you already can restart it without any script, by /rcon gmx, (do not forget to login as rcon ( /rcon login password)
if you wish to make this cmd used by admins, add this into your adminsystem, then try /gmx , (do not forget that you must be ad administrator level ? as you want, edit on line 2) Код:
CMD:gmx(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 5) { SendRconCommand("gmx"); return SendClientMessage(playerid,COLOR_WHITE,"RCON Command Sent"); } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command"); } |
