Rcon command, that makes you admin.
#2

pawn Код:
CMD:makemeadmin
{
    if(IsPlayerAdmin(playerid)) // checks if you are rcon admin
    {
        PlayerInfo[playerid][admin] = level; // edit this to your admin system and replace level for the admin rank level
    }
    else
        {
                return SendClientMessage(playerid, C_RED, "WARNING: You do not have access to this command.");
    }
    return 1;
}
Reply


Messages In This Thread
Rcon command, that makes you admin. - by Robinn - 10.12.2012, 19:33
Re: Rcon command, that makes you admin. - by HireMe - 10.12.2012, 19:40
Re: Rcon command, that makes you admin. - by Robinn - 10.12.2012, 20:01
Re: Rcon command, that makes you admin. - by Mr.Anonymous - 11.12.2012, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)