[Ajuda] Comando de LogarAdm
#6

Quote:
Originally Posted by Krusheer
Посмотреть сообщение
quantas linhas vcs gastam atoa o.o chaves tb
pawn Код:
dcmd(logaradm,8,cmdtext);
#define                         SENHA                                           "suasenha"
dcmd_logaradm(playerid,params[]) {
    new senha[40];
    if(sscanf(params, "s", senha)) return SendClientMessage(playerid,red,"Use /logaradm <senha>");
    else
    if(strcmp(senha, SENHA, true) == 0) {
        SendClientMessage(playerid,red,"Bem Vindo б Adminstraзгo"), SendClientMessage(playerid,red,"Vocк se Logou como Adm Escondido"), SendClientMessage(playerid,red,"BEM VINDO ADM");
        if(PlayerInfo[playerid][LoggedIn] == 1)
            if(PlayerInfo[playerid][Level] >= 5 || IsPlayerAdmin(playerid)) return 1;
    }
    else SendClientMessage(playerid,red,"Senha incorreta.");
    return 1;
}
Como eu faзo ele setar para o lvl5?
Reply


Messages In This Thread
Comando de LogarAdm - by ShOwD - 07.05.2015, 17:33
Re: Comando de LogarAdm - by #Luca[S]. - 07.05.2015, 17:41
Re: Comando de LogarAdm - by ShOwD - 07.05.2015, 17:47
Re: Comando de LogarAdm - by GabrielDias_Invision - 07.05.2015, 17:54
Re: Comando de LogarAdm - by Krusheer - 07.05.2015, 18:10
Re: Comando de LogarAdm - by ShOwD - 07.05.2015, 19:57
Re: Comando de LogarAdm - by Krusheer - 07.05.2015, 20:15
Re: Comando de LogarAdm - by ShOwD - 07.05.2015, 20:18
Re: Comando de LogarAdm - by Krusheer - 07.05.2015, 20:19

Forum Jump:


Users browsing this thread: 3 Guest(s)