Server Restart..
#1

So i maked simple /gmx command.. and when i type /gmx nothing ...
so the code's ive been using without any luck ..

First Code :
pawn Код:
if(strcmp(cmd, "/gmx", true) == 0)
    {
    if (IsPlayerAdmin(playerid))
    {
            GameModeExit();
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command!");
        }
        return 1;
    }
Then i tried using it like this :
pawn Код:
//--------------------------------------SERVER REBOOT------------------------------------
        if(strcmp(cmd, "/gmx", true) == 0)
        {
        if (IsPlayerAdmin(playerid)) return SendRconCommand("gmx");
        else return SendClientMessage(playerid, COLOR_GRAD1, " not authorized to use this command!");
        }
Reply


Messages In This Thread
Server Restart.. - by Static_X - 11.02.2009, 16:27
Re: Server Restart.. - by yom - 11.02.2009, 16:31
Re: Server Restart.. - by Static_X - 11.02.2009, 16:36
Re: Server Restart.. - by Static_X - 11.02.2009, 16:41
Re: Server Restart.. - by JaYmE - 11.02.2009, 17:34
Re: Server Restart.. - by crunch112 - 11.02.2009, 17:50
Re: Server Restart.. - by Static_X - 11.02.2009, 17:52
Re: Server Restart.. - by JaYmE - 11.02.2009, 18:16
Re: Server Restart.. - by Danut - 11.02.2009, 18:47
Re: Server Restart.. - by Static_X - 11.02.2009, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)