[Ajuda] Logando com qlqr senha
#2

PHP код:
if(dialogid == LOGIN)
{
    if(!
response) {
        
SendClientMessage(playerid,-1,"{00BFFF}Voce foi kickado por nao Logar.");
           return 
Kick(playerid);
    }
    else
    {
        new 
vfile[64];
        
format(vfilesizeof(vfile), DIRETORIOpName(playerid));
        if(!
strcmp(inputtextDOF2_GetString(vfile"Senha"), true) && !isnull(inputtext))
        {
            
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");
        }
        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)