Command Commented....Still works?!
#1

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;
}
*/
Reply
#2

There must be another gmx cmd.

In filterscript or in gamemode
Reply
#3

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

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
Reply
#5

Did You upload it to the host?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)