[Ajuda] Problemas com o login :S
#8

pawn Код:
if (strcmp(cmd, "/registrar", true) ==0 )
    {
        if(IsPlayerConnected(playerid))
        {
            if(gPlayerLogged[playerid] == 1)
                return SendClientMessage(playerid, COLOR_DBLUE, "[RHB]]:  Vocк jб esta logado."), 0;

            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "/contas/%s.ini", sendername);

            if (fexist(string))
                return SendClientMessage(playerid, COLOR_YELLOW, "Verificaзгo Anti-Hack Execultada com sucesso!");

            new tmppass[64];
            tmp = strtok(cmdtext, idx);

            if(!strlen(tmp))
                return SendClientMessage(playerid, COLOR_GRAD1, "USE: /registrar [Senha]"),SendClientMessage(playerid, COLOR_YELLOW, "-==> Use Nome_Sobrenome ( Ex: Guru_Josh ) <==-"), 0;

            strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
            OnPlayerRegister(playerid,tmppass);
        }
        return 1;
    }
Reply


Messages In This Thread
Problemas com o login :S - by SonicPaintballer - 08.01.2013, 06:47
Re: Problemas com o login :S - by zSuYaNw - 08.01.2013, 06:51
Re: Problemas com o login :S - by SonicPaintballer - 08.01.2013, 06:53
Re: Problemas com o login :S - by zSuYaNw - 08.01.2013, 06:58
Re: Problemas com o login :S - by SonicPaintballer - 08.01.2013, 07:01
Re: Problemas com o login :S - by zSuYaNw - 08.01.2013, 07:03
Re: Problemas com o login :S - by SonicPaintballer - 08.01.2013, 07:05
Re: Problemas com o login :S - by zSuYaNw - 08.01.2013, 07:06
Re: Problemas com o login :S - by SonicPaintballer - 08.01.2013, 07:08
Re: Problemas com o login :S - by zSuYaNw - 08.01.2013, 07:09

Forum Jump:


Users browsing this thread: 1 Guest(s)