SA-MP Forums Archive
Command Commented....Still works?! - 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: Command Commented....Still works?! (/showthread.php?tid=302358)



Command Commented....Still works?! - Dokins - 08.12.2011

I commented the command, compiled and restarted several times yet....it still works!


pawn Код:
/*CMD:gmx(playerid, params[])
{
    if(LoggedIn[playerid] == 0) return SendClientMessage(playerid, COLOUR_GREY, "You must be logged in to use this command.");

    new reason[128], time;
    if(AdminLevel[playerid] < 3) return SendClientMessage(playerid, COLOUR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ds[128]", time, reason)) return SendClientMessage(playerid, COLOUR_GREY, "Usage: /gmx [time till restart] [reason]");
    if(time < 1 ||time > 60) return SendClientMessage(playerid, COLOUR_GREY, "Time must be between 1 minute and 1 hour.");
    format(reason, sizeof(reason), "Admin %s has initiated a Server Restart in %d minutes [Reason: %s]", GetNameEx(playerid), time, reason);
    SendClientMessageToAll(0x95FFB4FF, reason);
    GMXTIME = time;
    return 1;
}
*/



Re: Command Commented....Still works?! - T0pAz - 08.12.2011

There must be another gmx cmd.

In filterscript or in gamemode


Re: Command Commented....Still works?! - Voldemort - 08.12.2011

/gmx is samp built in cmd I guess or some basic FS


Re: Command Commented....Still works?! - Mr.Fames - 08.12.2011

the only cmd is the 1 which rcon uses which is this /rcon gmx . So try it in a blank script without filterscripts or anything else . Cause it is not possible xD


Re: Command Commented....Still works?! - Max_Coldheart - 08.12.2011

Did You upload it to the host?