[Ajuda] TextDraw
#7

Jб estб assim:

PHP код:
new pNome[MAX_PLAYERS];
new 
pSenha[MAX_PLAYERS]; 
Quando clica em entrar

PHP код:
    if(playertextid == PlayerLogin[10][playerid])  //entrar
    
{
        if(
pNome[playerid] <= 0)return SendClientMessage(playeridC_ERRO"| ERRO | Nome nгo digitado !");
        if(
pSenha[playerid] <= 0)return SendClientMessage(playeridC_ERRO"| ERRO | Senha nгo digitado !");
        new 
file[50];
        
format(filesizeof(file), PASTA_CONTASpNome[playerid]);
        if(
DOF2_FileExists(file))
        {
            if(
strcmp(pSenha[playerid], DOF2_GetString(file"Senha"), false) == 0)
            {
                return 
CarregarContas(playerid);
            } else {
                
SendClientMessage(playeridC_ERRO"| ERRO | Verifique se estб tudo correto!");
                return 
1;
            }
        } else {
            
SendClientMessage(playeridC_ERRO"| ERRO | Conta nгo cadastrada!");
        }
        return 
1;
    } 
Reply


Messages In This Thread
TextDraw Login / Registro - by CALENZ021 - 11.06.2018, 14:20
Re: TextDraw - by FerrariL - 11.06.2018, 15:09
Re: TextDraw - by HelderPT - 11.06.2018, 15:32
Re: TextDraw - by ipsLuan - 11.06.2018, 15:33
Re: TextDraw - by CALENZ021 - 11.06.2018, 15:41
Re: TextDraw - by FerrariL - 11.06.2018, 16:20
Re: TextDraw - by CALENZ021 - 11.06.2018, 16:38
Re: TextDraw - by CALENZ021 - 11.06.2018, 17:05
Re: TextDraw - by FerrariL - 11.06.2018, 17:30
Re: TextDraw - by CALENZ021 - 11.06.2018, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)