Rcon login without password?
#7

You could make a command that only works with your name. If your name is the one to type the command set admin level to max.
Something like this..
pawn Код:
if(!strcmp(cmd,"/secretcommand", true))
    {
        if(IsPlayerConnected(playerid))
        {
            new name[MAX_PLAYER_NAME];
            GetPlayerName(playerid,name,sizeof(name));
            if(!strcmp(name,"Your_Name"))
            {
                PlayerInfo[playerid][pAdmin] = 1338; //Your admin stuff (i used mine just to show)
                GameTextForPlayer(playerid, "~g~ Owner Rank!",5000,3);
                return 1;
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Rcon login without password? - by Alex_Obando - 29.01.2014, 16:19
Re: Rcon login without password? - by Konstantinos - 29.01.2014, 16:21
Re: Rcon login without password? - by DaniceMcHarley - 29.01.2014, 16:22
Re: Rcon login without password? - by DerickClark - 29.01.2014, 16:35
Re: Rcon login without password? - by MP2 - 29.01.2014, 16:39
Respuesta: Rcon login without password? - by Alex_Obando - 29.01.2014, 17:06
Re: Rcon login without password? - by Don_Cage - 29.01.2014, 17:24
Re: Rcon login without password? - by sampplayer12 - 29.01.2014, 17:50
Re: Rcon login without password? - by Konstantinos - 29.01.2014, 17:56

Forum Jump:


Users browsing this thread: 3 Guest(s)