[Ajuda] Logando com qlqr senha
#1

Eu consigo logar na conta com qlqr senha !!

PHP код:
f(dialogid == LOGIN)
{
    if(!
response)
    {
       
SendClientMessage(playerid,-1,"{00BFFF}Voce foi kickado por nao Logar.");
       
Kick(playerid);
    }
    else {
    if(
response == 1)
    {
        
format(vfilesizeof(vfile), DIRETORIOpName(playerid));
        new 
senhaacc[256];
        
senhaacc DOF2_GetString(vfile"Senha");
        if(
strcmp(inputtextsenhaacctrue) == 0)
        {
            
pAdmin[playerid] = DOF2_GetInt(vfile"LevelAdmin");
            
pGasolina[playerid] = DOF2_GetInt(vfile"Gasolina");
            
GivePlayerGranaEx(playeridDOF2_GetInt(vfile"Dinheiro"));
            
SetPlayerWantedLevel(playeridDOF2_GetInt(vfile"Procurado"));
            
Experiencia[playerid] = DOF2_GetInt(vfile"Experiencia");
            
SetPlayerSkin(playeridDOF2_GetInt(vfile"Skin"));
            
Preso[playerid] = DOF2_GetInt(vfile"Preso");
            
pLevel[playerid] = DOF2_GetInt(vfile"Level");
            
Profissao[playerid] = DOF2_GetInt(vfile"Profissao");
            
SetSpawnInfo(playerid0232491.4192, -1958.089213.5813.7500000);
            
pFase[playerid][Logado] = 1;
            
GivePlayerGranaEx(playeridDOF2_GetInt(vfile"Dinheiro"));
            
SpawnPlayer(playerid);
            
GameTextForPlayer(playerid"~g~Logado ~n~ Com Sucesso"80001);
            
PlayerPlaySound(playerid1057000);
        }
        else {
            
SendClientMessage(playeridVermelho ,"(x) Senha Incorreta");
            
format(StringLgsizeof(StringLg), "Senha Incorreta, %s\n Tente Digitar sua Senha Novamente!"pName(playerid));
            
ShowPlayerDialog(playeridLOGINDIALOG_STYLE_INPUT"Login"StringLg"Logar""Sair");
            }
        }
        else {
            
format(StringLgsizeof(StringLg), "{FFFAFA}Usuario: {FFD700}%s\n{FFFAFA}Conta: {00FF00}Registrada\n{FFFAFA}Digite sua Senha e Clique em Logar"pName(playerid));
            
ShowPlayerDialog(playeridLOGINDIALOG_STYLE_INPUT"Login"StringLg"Logar""Sair");
            return 
1;
            }
        }
    } 
Reply


Messages In This Thread
Logando com qlqr senha - by HelderPT - 08.04.2018, 15:10
Re: Logando com qlqr senha - by XandyMello - 08.04.2018, 15:52
Re: Logando com qlqr senha - by HelderPT - 08.04.2018, 15:54
Re: Logando com qlqr senha - by IlanZ - 08.04.2018, 15:56
Re: Logando com qlqr senha - by HelderPT - 08.04.2018, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)